projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b062a11
)
egl/xlib: move call to create_configs() after we set the Xdpy field
author
Brian Paul
<brianp@vmware.com>
Tue, 18 Aug 2009 23:54:44 +0000
(17:54 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 18 Aug 2009 23:54:44 +0000
(17:54 -0600)
src/gallium/winsys/egl_xlib/egl_xlib.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/egl_xlib/egl_xlib.c
b/src/gallium/winsys/egl_xlib/egl_xlib.c
index 7a667568b8f2638f41b4cfd4b772ef6c64f7f5db..1fcdd2dceb028f2441b99a224bfdb27243f2514f 100644
(file)
--- a/
src/gallium/winsys/egl_xlib/egl_xlib.c
+++ b/
src/gallium/winsys/egl_xlib/egl_xlib.c
@@
-197,12
+197,12
@@
xlib_eglInitialize(_EGLDriver *drv, _EGLDisplay *dpy,
{
struct xlib_egl_driver *xdrv = xlib_egl_driver(drv);
- create_configs(drv, dpy);
-
if (!dpy->Xdpy) {
dpy->Xdpy = XOpenDisplay(NULL);
}
+ create_configs(drv, dpy);
+
dpy->ClientAPIsMask = xdrv->apis;
/* we're supporting EGL 1.4 */