|
Size: 738
Comment: minor change
|
Size: 742
Comment: update content - pointers, structs
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 15: | Line 15: |
| ||'''window'''||the window to associate with the context|| | ||'''window'''||the SDL_Window to associate with the context|| |
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 SDL_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
