gluErrorString(3x)

gluErrorString3x

Produce an error string from a gl or glu error code

C specification

const GLubyte * gluErrorString( GLenum error )


    

    
        

delim $$

Parameters

error

Specifies a GL or GLU error code.

Overview

gluErrorString produces an error string from a GL or GLU error code. The string is in ISO Latin 1 . For example, gluErrorString(GL_OUT_OF_MEMORY) returns the string out of memory.

The standard GLU error codes are GLU_INVALID_ENUM, GLU_INVALID_VALUE, and GLU_OUT_OF_MEMORY. Certain other GLU functions can return specialized error codes through callbacks. See the glGetError reference page for the list of GL error codes.

Errors

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

Releases

2 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0
  2. 3.1

From xlibmesa-glu-dev 4.3.0.dfsg.1-14sarge7 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.