VSync and wxCanvas?
BlitzMax Forums/Brucey's Modules/VSync and wxCanvas?
| ||
Even when using Flip(0) my application won't run faster than 60 FPS. I am using the mainloop sample, so it isn't using a timer for rendering. When I skip the Flip command the framerate (printed to the console) is thousands of FPS. It also changes to match my screen refresh rate, when I change that setting. So I know it is the vertical sync causing it. |
| ||
It seems I wasn't setting the sync (if required) before the call to swapbuffers. What's the default? 1 ? Setting it now to zero here makes my glcube sample go crazy. |
| ||
Oh. -1... Function Flip( sync=-1 ) ... |
| ||
Was that an answer or a confirmed bug? |