Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2010-08-29 23:35:06
Size: 919
Editor: SheenaSmith
Comment: update content (w/ Sam); remove 'draft' note
Revision 6 as of 2010-08-29 23:35:20
Size: 839
Editor: SheenaSmith
Comment: minor change
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||

SDL_GL_GetAttribute

Use this function to get the actual value for an attribute from the current context.

Syntax

int SDL_GL_GetAttribute(SDL_GLattr attr,
                        int*       value)

Function Parameters

attr

the SDL_GLattr to query

value

a pointer to be filled in with the current value of attr

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_GetAttribute (last edited 2014-02-08 20:53:11 by PhilippWiesemann)

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