MGL_isVSync
Returns true if the vertical sync is currently active
Declaration
int MGLAPI MGL_isVSync(
MGLDC *dc)
Prototype In
mgraph.h
Parameters
dc |
Display device context of interest |
Return Value
True if in vSync, false if not and -1 if function not available on hardware device.
Description
This function will wait until the next vertical sync comes along for the current fullscreen graphics mode, before returning.
Note: This function may not be available on all display devices, so make sure you check the return value to see if the function is implemented and available.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com