Undoing changeset 949 as it breaks the Linux build, per e-mail from John Tsiombikas dated 12/13/11 6:41 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@953 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
33d23d40ab
commit
be2e5e2ff9
@ -53,8 +53,7 @@ void checkError(const char *functionName)
|
|||||||
{
|
{
|
||||||
GLenum error;
|
GLenum error;
|
||||||
while (( error = glGetError() ) != GL_NO_ERROR) {
|
while (( error = glGetError() ) != GL_NO_ERROR) {
|
||||||
const GLubyte* sError = gluErrorString(error);
|
fprintf (stderr, "GL error 0x%X detected in %s\n", error, functionName);
|
||||||
fprintf (stderr, "GL error 0x%X, %s, detected in %s\n", error, sError, functionName);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user