|
⇤ ← Revision 1 as of 2010-01-18 06:42:47
Size: 766
Comment: create page, add content
|
Size: 761
Comment: Update WindowID > Window*
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 12: | Line 12: |
| SDL_GLContext SDL_GL_CreateContext(SDL_WindowID windowID) | SDL_GLContext SDL_GL_CreateContext(SDL_Window* window) |
| Line 16: | Line 16: |
| ||'''windowID'''||the type used to identify the window|| | ||'''window'''||the type used to identify the window|| |
DRAFT |
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 type used to identify the window |
Return Value
The SDL_GLContext associated with the OpenGL Window.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
