1GLUERRORSTRING(3G)               OpenGL Manual              GLUERRORSTRING(3G)
2
3
4

NAME

6       gluErrorString - produce an error string from a GL or GLU error code
7

C SPECIFICATION

9       const GLubyte * gluErrorString(GLenum error);
10

PARAMETERS

12       error
13           Specifies a GL or GLU error code.
14

DESCRIPTION

16       gluErrorString produces an error string from a GL or GLU error code.
17       The string is in ISO Latin 1 format. For example,
18       gluErrorString(GLU_OUT_OF_MEMORY) returns the string out of memory.
19
20       The standard GLU error codes are GLU_INVALID_ENUM, GLU_INVALID_VALUE,
21       and GLU_OUT_OF_MEMORY. Certain other GLU functions can return
22       specialized error codes through callbacks. See the glGetError()
23       reference page for the list of GL error codes.
24

ERRORS

26       NULL is returned if error is not a valid GL or GLU error code.
27

SEE ALSO

29       gluNurbsCallback(), gluQuadricCallback(), gluTessCallback(),
30       glGetError()
31
33       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
34       under the SGI Free Software B License. For details, see
35       http://oss.sgi.com/projects/FreeB/.
36

AUTHORS

38       opengl.org
39
40
41
42opengl.org                        07/13/2018                GLUERRORSTRING(3G)
Impressum