Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2010-09-08 04:13:16
Size: 730
Editor: SheenaSmith
Comment: update content (w/ Sam)
Revision 6 as of 2010-09-24 21:34:20
Size: 738
Editor: SheenaSmith
Comment: minor change
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
The OpenGL context associated with '''window'''. Returns the OpenGL context associated with '''window'''.

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

Returns 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