Module: Mesa Branch: master Commit: def77160d69dbb0a333ea3f9263e661f8557a7ec URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=def77160d69dbb0a333ea3f9263e661f8557a7ec
Author: Brian Paul <bri...@vmware.com> Date: Tue Aug 4 15:28:29 2009 -0600 mesa: reset ErrorDebugCount to zero in glGetString() --- src/mesa/main/getstring.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c index 41fd786..6599ed9 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; } _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit