Frame Rate?
BlitzMax Forums/BlitzMax Programming/Frame Rate?
| ||
Some where along the way something changed that caused my frame rate to go from 85 FPS (my monitor refresh setting) to 60 FPS. From looking at the Max Docs, it looks like it changed? Graphics kScreenWidth,kScreenHeight,32, 0 Flip 1 How do I get it to use the default monitor setting? |
| ||
The above code will open a full screen with 32-bit depth and whatever the default hertz rate is. If the hertz rate of the display is not known, it has to assume a sofware rate, which is 60hz. If you want it to open at 85Hz rate, do Graphics kScreenWidth,kScreenHeight,32,85 |
| ||
If I change the the value to 85 it still renders at 60? If I change to Flip 0 it renders at a couple hundred. |
| ||
Looks like I have to use Flip -1 and the value of 85 to render at 85? 85 is a valid setting for my monitor so I don't understand the issue? It use to work with ,0? |
| ||
I can do 800,600,32,85 on my PC no problems with Flip 1. I'm measuring the FPS and it's accurate. |
| ||
Sean: Did you enable the WinXP default 60hz disable in your graphics driver? Because if not, its normal that you only get 60hz as this is XP default unless disabled by graphics drivers for DX fullscreen |