Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2010-08-29 23:56:40
Size: 744
Editor: SheenaSmith
Comment: update content (w/ Sam); remove 'draft' note
Revision 3 as of 2016-05-11 20:11:23
Size: 806
Comment: Added Version section.
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
== Version ==
This function is available since SDL 2.0.0.

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

Version

This function is available since SDL 2.0.0.


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