Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-01-18 06:54:16
Size: 805
Editor: SheenaSmith
Comment: create page, add content
Revision 2 as of 2010-08-29 23:56:40
Size: 744
Editor: SheenaSmith
Comment: update content (w/ Sam); remove 'draft' note
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 16: Line 15:
Returns 0 if there is no vertical retrace synchronization, 1 if the buffer swap is synchronized with the vertical retrace, and -1 if getting the swap interval is not supported; call [[SDL_GetError]]() for more information. Returns 0 if there is no vertical retrace synchronization, 1 if the buffer swap is synchronized with the vertical retrace, -1 if getting the swap interval is not supported; call [[SDL_GetError]]() for more information.

SDL_GL_GetSwapInterval

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

Syntax

int SDL_GL_GetSwapInterval(void)

Return Value

Returns 0 if there is no vertical retrace synchronization, 1 if the buffer swap is synchronized with the vertical retrace, -1 if getting 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_GetSwapInterval (last edited 2016-05-11 20:16:50 by PhilippWiesemann)

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