Wiki Page Content

Differences between revisions 6 and 7
Revision 6 as of 2010-09-24 21:34:20
Size: 738
Editor: SheenaSmith
Comment: minor change
Revision 7 as of 2010-10-09 03:30:19
Size: 742
Editor: SheenaSmith
Comment: update content - pointers, structs
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
||'''window'''||the window to associate with the context|| ||'''window'''||the SDL_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 SDL_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