Get the currently active OpenGL window.
Defined in <SDL3/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 3.1.3.