Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2010-08-29 23:31:01
Size: 709
Editor: SheenaSmith
Comment: minor change
Revision 5 as of 2010-09-08 04:13:16
Size: 730
Editor: SheenaSmith
Comment: update content (w/ Sam)
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
||'''window'''||the window to query|| ||'''window'''||the 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.

Syntax

SDL_GLContext SDL_GL_CreateContext(SDL_Window* window)

Function Parameters

window

the window to associate with the context

Return Value

The OpenGL context associated with 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