Get the currently active OpenGL window.
Defined in <SDL3/SDL_video.h>
SDL_Window* SDL_GL_GetCurrentWindow(void);
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.0.0.
CategoryAPI, CategoryAPIFunction, CategoryVideo