GA_setCRTCTimings
Set the CRTC timings for a specific display mode and refresh rate
Declaration
ibool NAPI GA_setCRTCTimings(
GA_devCtx *dc,
GA_modeInfo *modeInfo,
GA_CRTCInfo *crtc,
ibool makeDefault)
Prototype In
snap/graphics.h
Parameters
dc |
Device context to save CRTC timings information for |
modeInfo |
Display mode information block |
crtc |
CRTC timings to update for the mode |
makeDefault |
True to make the timings the default for the mode |
Return Value
True on success, false on error.
Description
This function updates the CRTC timings for a particular display mode and refresh rate (refresh rate stored in the crtc parameter) in the 7internal CRTC timings database. If the resolution and/or refresh rate is not supported by the display mode, this function returns false.
The makeDefault parameter is used to determine whether the CRTC timings should be made the default timings for the display mode. If this parameter is true, the passed in timings will become the default timings for that display mode. If not, the timings will be updated but the default refresh rate will not be changed for the display mode.
See Also
GA_saveCRTCTimings, GA_restoreCRTCTimings, SetCRTCTimings
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com