mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-11 09:01:40 +00:00
If the window has been created with values for SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_MAJOR_VERSION and SDL_GL_CONTEXT_MINOR_VERSION not matching those required by the renderer, attempt to recreate the window. This is needed on platforms where both GL and GLES 1/2 surfaces are supported by the video backend, requiring that the window be recreated when switching between context types. |
||
|---|---|---|
| .. | ||
| SDL_glesfuncs.h | ||
| SDL_render_gles.c | ||