From def77160d69dbb0a333ea3f9263e661f8557a7ec Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 4 Aug 2009 15:28:29 -0600 Subject: [PATCH] mesa: reset ErrorDebugCount to zero in glGetString() --- src/mesa/main/getstring.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c index 41fd786d7d5..6599ed9698d 100644 --- a/src/mesa/main/getstring.c +++ b/src/mesa/main/getstring.c @@ -266,5 +266,6 @@ _mesa_GetError( void ) _mesa_debug(ctx, "glGetError <-- %s\n", _mesa_lookup_enum_by_nr(e)); ctx->ErrorValue = (GLenum) GL_NO_ERROR; + ctx->ErrorDebugCount = 0; return e; } -- 2.30.2