| Home
| Previous
| Next
| Up

MGL_vSync

Waits for the vertical sync for a display device context.

Declaration

ibool MGLAPI MGL_vSync(
MGLDC *dc)

Prototype In

mgraph.h

Parameters

dc | Display device context of interest

Return Value

True on success, false 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

MGL_isVSync, MGL_getCurrentScanLine

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com