|
⇤ ← Revision 1 as of 2010-01-18 06:51:36
Size: 838
Comment: create page, add content
|
Size: 781
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.
Contents
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
