DRAFT |
SDL_GL_CreateContext
Use this function to create an OpenGL context for use with an OpenGL window, and make it current.
Contents
Syntax
SDL_GLContext SDL_GL_CreateContext(SDL_WindowID windowID)
Function Parameters
windowID |
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
