Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

gluErrorString function

The gluErrorString function produces an error string from an OpenGL or GLU error code. The error string is ANSI only.

Syntax


const GLubyte* WINAPI gluErrorString(
   GLenum errCode
);

Parameters

errCode

An OpenGL or GLU error code.

Remarks

The gluErrorString function produces an error string from an OpenGL or GLU error code. The string is in an ISO Latin 1 format. 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. For the list of OpenGL error codes, see glGetError.

The gluErrorString function produces error strings in ANSI only. Whenever possible, use gluErrorStringWIN, which allows ANSI or Unicode error strings. This makes it easier to localize your program for use with another language.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Glu.h

Library

Glu32.lib

DLL

Glu32.dll

See also

glGetError
gluNurbsCallback
gluQuadricCallback
gluTessCallback

 

 

Show: