getdis(3G)

getdis - returns the current display mode

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     getdis - returns the current display mode

FORTRAN 77 SPECIFICATION
     integer*4 function getdis()

PARAMETERS
     none

FUNCTION RETURN VALUE
     The returned value for this function tells you which display mode is
     currently active.

                  ______________________________________________
                   Symbolic Name |         Display Mode
                  ______________________________________________
                   DMSING          color map single buffer mode
                   DMDOUB          color map double buffer mode
                   DMRGB           RGB single buffer mode
                   DMRGBD          RGB double buffer mode
                  ______________________________________________
                  |





                                                                |







DESCRIPTION
     getdis returns the current display mode.

SEE ALSO
     cmode, double, RGBmod, single

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/fget.h>.