|
⇤ ← Revision 1 as of 2010-01-18 06:54:16
Size: 805
Comment: create page, add content
|
Size: 744
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
