Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-01-18 06:42:47
Size: 766
Editor: SheenaSmith
Comment: create page, add content
Revision 2 as of 2010-01-21 18:30:08
Size: 761
Editor: SheenaSmith
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.

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


CategoryAPI, CategoryVideo

None: SDL_GL_CreateContext (last edited 2018-04-05 21:55:20 by ChrisBush)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit