getdisplaymode(3G)
getdisplaymode - returns the current display mode
As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.
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>.