SDL_GL_GetCurrentContext

Get the currently active OpenGL context.

extern (C) nothrow @nogc extern
SDL_GL_GetCurrentContext
()

Return Value

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

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

See Also

Meta