Wiki Page Content

Revision 2 as of 2010-08-29 23:56:40

Clear message

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

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