|
Size: 696
Comment: remove references to compat API
|
← Revision 5 as of 2011-12-31 20:25:01 ⇥
Size: 650
Comment: remove references to compat API, replaced with 1.3 info
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 22: | Line 22: |
| ''You can add useful comments here'' ##If framebuffer acceleration is enabled this will affect the surface returned by [[SDL_SetVideoMode]](). |
[[SDL_HINT_RENDER_VSYNC]] overrides the SDL_RENDERER_PRESENTVSYNC flag in [[SDL_CreateRenderer]](). |
SDL_HINT_RENDER_VSYNC
A hint that specifies whether sync to vertical refresh is enabled or disabled in SDL_CreateRenderer() to avoid tearing.
Values
0 |
disable vsync |
1 |
enable vsync |
Default
By default SDL uses the SDL_RENDERER_PRESENTVSYNC flag passed into SDL_CreateRenderer().
Code Examples
You can add your code example here
Remarks
SDL_HINT_RENDER_VSYNC overrides the SDL_RENDERER_PRESENTVSYNC flag in SDL_CreateRenderer().
