Windows vblank?

Monkey Targets Forums/Desktop/Windows vblank?

Spinal(Posted 2015) [#1]
I'm getting quite bad graphic tearing when running my game on windows (osx seems 100% ok) Does anyone know if theres a vblank delay anywhere? I've tried using SetSwapInterval and adjusting SetUpdateRate but neither seem to help much if at all. It really is a killer for games in this day to have gfx errors like that.



also, as a side question, I can't hid the mouse pointer in full screen. HideMouse() appears not to do anything at all.


Nobuyuki(Posted 2015) [#2]
SetSwapInterval 1 combined with SetUpdateRate 0 should basically tie updates to vsync. YMMV. For best support, you should probably run your game in full screen for this.