DRAFT |
SDL_GL_GetCurrentContext
Use this function to get the currently active OpenGL context.
Contents
Syntax
SDL_GLContext SDL_GL_GetCurrentContext(void)
Return Value
Returns the currently active OpenGL context 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.