Get the currently active OpenGL window.
Defined in SDL_video.h, but apps should only #include "SDL.h"
!
void); SDL_Window* SDL_GL_GetCurrentWindow(
Returns the currently active OpenGL window on success or NULL on failure; call SDL_GetError() for more information.
This function is available since SDL 2.0.0.
CategoryAPI, CategoryAPIFunction