Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-01-18 06:51:36
Size: 838
Editor: SheenaSmith
Comment: create page, add content
Revision 2 as of 2010-08-30 00:54:39
Size: 781
Editor: SheenaSmith
Comment: remove 'draft' note
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||

SDL_GL_SetSwapInterval

Use this function to set the swap interval for the current OpenGL context.

Syntax

int SDL_GL_SetSwapInterval(int interval)

Function Parameters

interval

0 for immediate updates, 1 for updates synchronized with the vertical retrace

Return Value

Returns 0 on success or -1 if setting the swap interval is not supported; 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_SetSwapInterval (last edited 2018-04-23 21:33:14 by urkle)

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