diff options
author | Chia-I Wu <[email protected]> | 2010-01-18 16:30:07 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-01-18 17:07:19 +0800 |
commit | 8311a49b2d4c34d17186d6d7e83307eb989a8260 (patch) | |
tree | 187e201088d29495b169efebe850bc09c9f886f3 /progs/egl/xeglgears.c | |
parent | ede755af4c4a22fd0076f1e18a5356879ac9c7e7 (diff) |
progs/egl: Pass EGLDisplay to eglCopyBuffers.
X Display was wrongly passed to eglCopyBuffers.
Diffstat (limited to 'progs/egl/xeglgears.c')
-rw-r--r-- | progs/egl/xeglgears.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/egl/xeglgears.c b/progs/egl/xeglgears.c index 614a6256037..9fdf4742441 100644 --- a/progs/egl/xeglgears.c +++ b/progs/egl/xeglgears.c @@ -604,7 +604,7 @@ event_loop(struct egl_manager *eman, EGLint surface_type, EGLint w, EGLint h) break; case EGL_PBUFFER_BIT: eglWaitClient(); - if (!eglCopyBuffers(eman->xdpy, eman->pbuf, eman->xpix)) + if (!eglCopyBuffers(eman->dpy, eman->pbuf, eman->xpix)) break; /* fall through */ case EGL_PIXMAP_BIT: |