NAME
gluErrorString
- produce an error string from a GL or GLU error code
C SPECIFICATION
const GLubyte * gglluuEErrrroorrSSttrriinngg(
GLenum _e_r_r_o_r )
delim $$
PARAMETERS
-
_e_r_r_o_r
-
Specifies a GL or GLU error code.
DESCRIPTION
gglluuEErrrroorrSSttrriinngg produces an error string from a GL or GLU error code. The string
is in ISO Latin 1 . For example,
gglluuEErrrroorrSSttrriinngg(GGLL__OOUUTT__OOFF__MMEEMMOORRYY) returns the string
_o_u_t _o_f _m_e_m_o_r_y.
The standard GLU error codes are GGLLUU__IINNVVAALLIIDD__EENNUUMM,
GGLLUU__IINNVVAALLIIDD__VVAALLUUEE,
and GGLLUU__OOUUTT__OOFF__MMEEMMOORRYY.
Certain other GLU functions can return specialized error codes
through callbacks.
See the ggllGGeettEErrrroorr reference page for the list of
GL error codes.
ERRORS
NNUULLLL is returned if _e_r_r_o_r is not a valid GL or GLU error code.
SEE ALSO
ggllGGeettEErrrroorr((33GG)),
gglluuNNuurrbbssCCaallllbbaacckk((33GG)),
gglluuQQuuaaddrriiccCCaallllbbaacckk((33GG)),
gglluuTTeessssCCaallllbbaacckk((33GG))