FPS locked by monitor's refresh frequency
By using SwapBuffers() function, the FPS always limited by monitor's refresh frequency, i.e. 75 frames per second against my monitor's 75MHz refresh frequency. How can I get rid of this ?
Turn VSYNC off in your video card drivers.
Or if you want to do it in software, look into this:
http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_swap_control.txt
Or if you want to do it in software, look into this:
http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_swap_control.txt
Pretty much, so long as you get the extension set up (GLee, for example, does this automatically) then its simply a matter of calling a couple of functions.
note, the above is only a request, the driver is free to ignore it if the current settings allow it to (for example, v-sync forced on).
Also, if you relase thinsg dont try to force v-sync off, give the user a choice, this makes for happy users [smile]
Also, if you relase thinsg dont try to force v-sync off, give the user a choice, this makes for happy users [smile]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement