SDL_GL_GetCurrentWindow

Get the currently active OpenGL window.

extern (C) nothrow @nogc extern
SDL_GL_GetCurrentWindow
()

Return Value

Type: SDL_Window*

the currently active OpenGL window on success or NULL on failure; call SDL_GetError() for more information.

Threadsafety: This function should only be called on the main thread.

Meta