Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2010-01-21 18:30:08
Size: 761
Editor: SheenaSmith
Comment: Update WindowID > Window*
Revision 3 as of 2010-08-29 23:30:24
Size: 707
Editor: SheenaSmith
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.

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


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