From 1a159971346b45c5d25c75176095f38606c6892d Mon Sep 17 00:00:00 2001 From: "John F. Fay" Date: Wed, 14 Dec 2011 03:35:07 +0000 Subject: [PATCH] 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: 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/progs/demos/smooth_opengl3/smooth_opengl3.c b/progs/demos/smooth_opengl3/smooth_opengl3.c index e30e9f4..abbdfb5 100755 --- a/progs/demos/smooth_opengl3/smooth_opengl3.c +++ b/progs/demos/smooth_opengl3/smooth_opengl3.c @@ -53,8 +53,7 @@ void checkError(const char *functionName) { GLenum error; while (( error = glGetError() ) != GL_NO_ERROR) { - 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); } } -- 1.7.10.4