mesa: reset ErrorDebugCount to zero in glGetString()

This commit is contained in:
Brian Paul
2009-08-04 15:28:29 -06:00
parent b98f0f2d51
commit def77160d6
+1
View File
@@ -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;
}