|
Size: 761
Comment: Update WindowID > Window*
|
Size: 707
Comment: update content (w/ Sam); remove 'draft' note
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 16: | Line 15: |
| ||'''window'''||the type used to identify the window|| | ||'''window'''||the window to query|| |
| Line 19: | Line 18: |
| The SDL_GLContext associated with the OpenGL Window. | The OpenGL context associated with the Window. |
| Line 31: | Line 30: |
| .[[SDL_GL_MakeCurrent]] |
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 query |
Return Value
The OpenGL context associated with the Window.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
