mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 00:25:27 +00:00
Don't X error in SDL_CreateWindow with unsupported GL attributes
This commit is contained in:
parent
adc64f922f
commit
b89cac6761
|
@ -463,7 +463,9 @@ X11_GL_InitExtensions(_THIS)
|
|||
}
|
||||
}
|
||||
|
||||
X11_XDestroyWindow(display, w);
|
||||
if (w) {
|
||||
X11_XDestroyWindow(display, w);
|
||||
}
|
||||
X11_PumpEvents(_this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue