What module tweaks do I need to make for perfect VSync in windowed mode?
*** This is now obsolete because Blitz Research have fixed the module themselves. *** A. In windowed mode, you may notice some vertical tearing. This is because BlitzMax does not perform any kind of waiting for vertical refresh even with Flip 1 or -1! Therefore if you toggle the Game Framework VSync option in windowed mode, you will not notice any difference. To obtain perfect VSync in windowed mode you have two choices as follows: a) In CommonTypes.bmx look for the TGame.PostDraw() method. There is a comment about Skidracer’s module tweak and a line of code commented out underneath. If you uncomment this line, ccVWait() will be called in windowed mode. This works well on some faster PCs but may result in a permanent tear somewhere near the top of the screen on slower PCs. The best solution is b) as follows. b) You need to tweak two of BlitzMax’s modules (until BRL apply this tweak themselves, if ever). Remember, until BRL apply these tweaks themselves (may require a Game Framework upd
Related Questions
- For some reason, I see oddly colored dots on my screen (for example, when moving from windowed mode to fullscreen). What can I do?
- How do I switch between Windowed mode and Full-Screen mode while Neverwinter Nights is running?
- Why do I get a funny little black window behind the game window in windowed mode?