From be2e5e2ff91cebf94409a675ddccb1ecb97c2e78 Mon Sep 17 00:00:00 2001 From: fayjf 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: https://svn.code.sf.net/p/freeglut/code/trunk@953 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/progs/demos/smooth_opengl3/smooth_opengl3.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/freeglut/freeglut/progs/demos/smooth_opengl3/smooth_opengl3.c b/freeglut/freeglut/progs/demos/smooth_opengl3/smooth_opengl3.c index e30e9f4..abbdfb5 100755 --- a/freeglut/freeglut/progs/demos/smooth_opengl3/smooth_opengl3.c +++ b/freeglut/freeglut/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); } }