NAME

cgGetError - get error condition

SYNOPSIS

  #include <Cg/cg.h>

  CGerror cgGetError( void );

PARAMETERS

None.

RETURN VALUES

cgGetError returns the last error condition that has occured. An error condition of CG_NO_ERROR means that no error has occurred.

DESCRIPTION

cgGetError returns the last error condition that has occured. The error condition is reset after cgGetError is called.

EXAMPLES

to-be-written

ERRORS

to-be-written

HISTORY

cgGetError was introduced in Cg 1.1.

SEE ALSO

cgSetErrorCallback, cgSetErrorHandler