Enabling/disabling vsync in the middle of a game
by Ian Omroth Hardingham · in Torque 3D Professional · 01/04/2011 (11:49 am) · 3 replies
Hey guys.
Anyone know what syntax it would be from, say, the Canvas, to change the D3D vsync status at an arbitary time?
Thanks,
Ian
Anyone know what syntax it would be from, say, the Canvas, to change the D3D vsync status at an arbitary time?
Thanks,
Ian
About the author
Designer and lead programmer on Frozen Synapse, Frozen Endzone, and Determinance. Co-owner of Mode 7 Games.
Torque Owner deepscratch
DeepScratchStudios
not quite sure what you are trying to achieve,
but wont something like this work??
pseudo code:
function ToggleVSync(%val) { if(%val) !$pref::Video::disableVerticalSync; else $pref::Video::disableVerticalSync; }