GM_setModeFilterFunc
Sets the custom mode filter for mode enumeration
Declaration
void MGLAPI GM_setModeFilterFunc(
GM_modeFilterFunc filter)
typedef ibool (*GM_modeFilterFunc)(
int xRes,
int yRes,
int bits,
ulong flags)
Prototype In
gm/gm.h
Parameters
filter |
New mode filter to set |
Description
This function allows you to register a mode filter callback with the Game Framework, which will be called during mode enumeration and will allow you to apply your own custom filtering code to the list of available video modes. Hence you can use this function to filter out all non 1:1 aspect ratio modes for instance.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com