mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 12:28:07 +02:00
egl/xlib: move call to create_configs() after we set the Xdpy field
This commit is contained in:
parent
b062a119ff
commit
e4aa62a6ce
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue