summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-04 15:28:29 -0600
committerBrian Paul <[email protected]>2009-08-04 15:36:28 -0600
commitdef77160d69dbb0a333ea3f9263e661f8557a7ec (patch)
treec6839655e1f1cd99061d968a169531c861d20f74 /src/mesa
parentb98f0f2d51494d3f766bc53941fff754fce8bd0f (diff)
mesa: reset ErrorDebugCount to zero in glGetString()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/getstring.c1
1 files changed, 1 insertions, 0 deletions
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;
}