getdisplaymode(3G) getdisplaymode(3G)
NAME
getdisplaymode - returns the current display mode
C SPECIFICATION
long getdisplaymode()
PARAMETERS
none
FUNCTION RETURN VALUE
The returned value for this function tells you which display mode is
currently active.
______________________________________________
|Symbolic Name | Display Mode |
|_____________________________________________|
|DMSINGLE color map single buffer mode |
|DMDOUBLE color map double buffer mode |
|DMRGB RGB single buffer mode |
|DMRGBDOUBLE RGB double buffer mode |
|_____________________________________________|
DESCRIPTION
getdisplaymode returns the current display mode.
SEE ALSO
cmode, doublebuffer, RGBmode, singlebuffer
NOTE
This routine is now obsolete. Use getgconfig instead.
This routine is available only in immediate mode.
The symbolic return values mentioned above are defined in <gl/get.h>.
Page 1