mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-03 08:28:29 +00:00
Don't X error in SDL_CreateWindow with unsupported GL attributes
This commit is contained in:
@@ -463,7 +463,9 @@ X11_GL_InitExtensions(_THIS)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (w) {
|
||||||
X11_XDestroyWindow(display, w);
|
X11_XDestroyWindow(display, w);
|
||||||
|
}
|
||||||
X11_PumpEvents(_this);
|
X11_PumpEvents(_this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user