| Home
| Previous
| Next
| Up

GM_setMode

Switches to a fullscreen or windowed graphics mode

Declaration

ibool MGLAPI GM_setMode(
GM_modeInfo *info,
ibool windowed,
int pages,
ibool forceSysMem)

Prototype In

gm/gm.h

Parameters

info | Structure describing the mode to initialize
windowed | True if the mode should be in a window
pages | Number of pages for hardware buffering
forceSysMem | Flag to force a system memory buffer for all drawing

Return Value

True on success, false on error

Description

This function is now obsolete, and has been replaced by the GM_setModeExt function. You should use the new function for all new application development.

See Also

GM_init, GM_setModeSwitchFunc, GM_setModeExt

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