projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ede755a
)
progs/egl: Pass EGLDisplay to eglCopyBuffers.
author
Chia-I Wu
<olvaffe@gmail.com>
Mon, 18 Jan 2010 08:30:07 +0000
(16:30 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Mon, 18 Jan 2010 09:07:19 +0000
(17:07 +0800)
X Display was wrongly passed to eglCopyBuffers.
progs/egl/xeglgears.c
patch
|
blob
|
history
diff --git
a/progs/egl/xeglgears.c
b/progs/egl/xeglgears.c
index 614a6256037d8f21c6eec12998564acc8b4d4598..9fdf47424416090c0367d24cd408bb3f4f2caf1b 100644
(file)
--- 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->
x
dpy, eman->pbuf, eman->xpix))
+ if (!eglCopyBuffers(eman->dpy, eman->pbuf, eman->xpix))
break;
/* fall through */
case EGL_PIXMAP_BIT: