logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

icetGetError -- return the last error condition.

Bugs

       It is not possible to tell if the returned value was caused by an error or a warning.

Description

       Retrieves the first error or warning condition that occurred since the last call to icetGetError or since
       program startup, whichever happened last.

       Once  an  error  condition has been retrieved with icetGetError, the error condition is reset to no error
       and cannot be retrieved again.

Name

icetGetError--returnthelasterrorcondition.

Notes

       The error value is not context dependent.

Return Value

       One of the following flags will be returned:

       ICET_INVALID_VALUE
               An inappropriate value has been passed to a function.

       ICET_INVALID_OPERATION
               An inappropriate function has been called.

       ICET_OUT_OF_MEMORYIceT has ran out of memory for buffer space.

       ICET_BAD_CAST
               A function has been passed a value of the wrong type.

       ICET_INVALID_ENUM
               A function has been passed an invalid constant.

       ICET_SANITY_CHECK_FAIL
               An internal error (or warning) has occurred.

       ICET_NO_ERROR
               No error has been raised since the last call to icetGetError.

See Also

icetDiagnostics(3)

IceT Reference                                   August  9, 2010                                 icetGetError(3)

Synopsis

       #include <IceT.h>

       GLenum icetGetError(   void   );

See Also