X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=progs%2Fdemos%2Fsmooth_opengl3%2Fsmooth_opengl3.c;h=abbdfb56c8e8409bd60ea83d0973597f00babd60;hb=06ec540147001021c3b4f02fc70e7a7dd1d93d89;hp=e30e9f4a9890f3277a76af797f5796a9348295e5;hpb=4c67dfd83286859a203289d72182a46581a16db3;p=freeglut 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); } }