|
Size: 730
Comment: update content (w/ Sam)
|
Size: 738
Comment: minor change
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 18: | Line 18: |
| The OpenGL context associated with '''window'''. | Returns the OpenGL context associated with '''window'''. |
SDL_GL_CreateContext
Use this function to create an OpenGL context for use with an OpenGL window, and make it current.
Contents
Syntax
SDL_GLContext SDL_GL_CreateContext(SDL_Window* window)
Function Parameters
window |
the window to associate with the context |
Return Value
Returns the OpenGL context associated with window.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
