|
⇤ ← Revision 1 as of 2013-10-31 22:28:09
Size: 1318
Comment: Added page for SDL_GL_GetCurrentWindow( ) using content from header.
|
← Revision 2 as of 2014-02-15 20:20:29 ⇥
Size: 1318
Comment: Fixed version statement.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 40: | Line 40: |
| This function since available in SDL 2.0.0. | This function is available since SDL 2.0.0. |
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.
