Skip to main content
gamedev.net
🔒 Locked

V-Sync question?

Started by Lord_Vader 0 replies 350+ views
Original Post
Lord_Vader
Lord_Vader
Hello all, When I disabled the V-Sync option from my graphics card settings the frame rate of my program doubled. I was wondering how the user could have the option to disable V-Sync through my program as a lot of games do. any openGl or Windows functions that disable or enable V-Sync? thanx
Xiachunyi
Xiachunyi
For V-Sync control, I would just use the extension "wglSwapIntervalEXT" since you are on the Windows platform.

The code you will implement will appear similiar to this.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.