Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2009-12-14 06:26:31
Size: 804
Editor: SheenaSmith
Comment: create page, add content
Revision 2 as of 2010-01-10 19:37:47
Size: 884
Editor: SheenaSmith
Comment: added DRAFT to top for removal after page is edited
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%"style="color: rgb(255, 0, 0); text-align: center;">DRAFT||

DRAFT

SDL_GL_SetAttribute

Use this function to set an OpenGL window attribute before window creation.

Syntax

int SDL_GL_SetAttribute(SDL_GLattr attr,
                        int        value)

Function Parameters

attr

the SDL_GLattr to be set

value

the desired value for the attribute

Return Value

Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

None: SDL_GL_SetAttribute (last edited 2015-04-26 19:19:56 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit