Hz Problem

Started by
3 comments, last by Richy2k 18 years, 2 months ago
I'm using NeHe basecode, and programming with Visual Studio .NET 2003. Everything works fine, just that there is a little problem : when my app is fullscreen it has about 40 Hz, is that possible? I've tryed to change this via ChangeDisplaySettings(), but error pop's out in run time, i dunno how to use this function. Is there any reasonable way to change Hz using NeHe basecode?
Advertisement
Common, from all you OpenGL experts ... noone knows how to set screen frequency???
And normally when my app isn't fullscreen it has desktop's Hz's.
check VSYNC
Quote:Original post by elastomaniac
Common, from all you OpenGL experts ... noone knows how to set screen frequency???


You don't get much choice in the matter. It all depends on the monitor, video card and resolution its set to. If you have vsync enabled, the max frame rate will be the refresh rate of your monitor. If you don't, itll go as fast as possible. Vsync prevents nasties such as tearing form happen, but input feels smoother with vsync off.
Adventures of a Pro & Hobby Games Programmer - http://neilo-gd.blogspot.com/Twitter - http://twitter.com/neilogd

This topic is closed to new replies.

Advertisement