Wiki Page Content

DRAFT

SDL_GL_GetCurrentContext

Use this function to get the currently active OpenGL context.

Syntax

Toggle line numbers
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

Toggle line numbers
You can add your code example here

Remarks

You can add useful comments here

Version

This function is available since SDL 2.0.0.


CategoryAPI, CategoryVideo

None: SDL_GL_GetCurrentContext (last edited 2013-10-31 22:24:45 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit