DRAFT |
SDL_GL_GetCurrentWindow
Use this function to get the currently active OpenGL window.
Syntax
SDL_Window* SDL_GL_GetCurrentWindow(void)
Return Value
Returns the currently active OpenGL window on success or NULL on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Version
This function is available since SDL 2.0.0.