NAME
    cgGetFirstError - get the first error condition

SYNOPSIS
      #include <Cg/cg.h>

      CGerror cgGetFirstError( void );

PARAMETERS
    None.

RETURN VALUES
    cgGetFirstError returns the first error condition that has occured since
    cgGetFirstError was previously called. An error condition of CG_NO_ERROR
    means that no error has occurred.

DESCRIPTION
    cgGetFirstError returns the first error condition that has occured since
    cgGetFirstError was previously called.

EXAMPLES
    *to-be-written*

ERRORS
    *to-be-written*

HISTORY
    cgGetError was introduced in Cg 1.4.

SEE ALSO
    the cgSetErrorHandler manpage

