Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi.
I want turn off vsync in SDL . What should I do ? Can SDL do it for me ?
Thanks.
Posted

1 solution

Please use WGL_EXT_swap_control extension to turn on/off Vertical Sync. In an opengl application, we can access this extension by calling glGetProcAddress(“wglSwapIntervalEXT”). For an SDL application, the following link will be helpful to access an opengl extension.
http://content.gpwiki.org/index.php/SDL:Tutorial:OpenGL_Extensions_with_SDL

Below link will also help for you.

http://forums.libsdl.org/viewtopic.php?t=7349&sid=1b392c994a1c9960c5632dd12d4433a4
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900