NAME

cgGetError, cgGetErrorString - get the current error condition

SYNOPSIS

  #include <Cg/cg.h>

  int cgGetError( );
  const char * cgGetErrorString( int error );

PARAMETERS

error

Specifies the error number.

DESCRIPTION

cgGetError returns the current error condition. An error condition of zero means that no error has occurred.

cgGetErrorString returns a human readable error string for the given error condition.

ERRORS

SEE ALSO