|
⇤ ← Revision 1 as of 2009-12-14 06:26:31
Size: 804
Comment: create page, add content
|
Size: 884
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.
Contents
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
