Undoing changeset 949 as it breaks the Linux build, per e-mail from John Tsiombikas...
authorJohn F. Fay <johnffay@nettally.com>
Wed, 14 Dec 2011 03:35:07 +0000 (03:35 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Wed, 14 Dec 2011 03:35:07 +0000 (03:35 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@953 7f0cb862-5218-0410-a997-914c9d46530a

progs/demos/smooth_opengl3/smooth_opengl3.c

index e30e9f4..abbdfb5 100755 (executable)
@@ -53,8 +53,7 @@ void checkError(const char *functionName)
 {
    GLenum error;
    while (( error = glGetError() ) != GL_NO_ERROR) {\r
 {
    GLenum error;
    while (( error = glGetError() ) != GL_NO_ERROR) {\r
-      const GLubyte* sError = gluErrorString(error);
-      fprintf (stderr, "GL error 0x%X, %s, detected in %s\n", error, sError, functionName);
+      fprintf (stderr, "GL error 0x%X detected in %s\n", error, functionName);
    }
 }
 
    }
 }