Get the currently active OpenGL window.
Defined in SDL_video.h
void); SDL_Window* SDL_GL_GetCurrentWindow(
(SDL_Window *) 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.