projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b98f0f2
)
mesa: reset ErrorDebugCount to zero in glGetString()
author
Brian Paul
<brianp@vmware.com>
Tue, 4 Aug 2009 21:28:29 +0000
(15:28 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 4 Aug 2009 21:36:28 +0000
(15:36 -0600)
src/mesa/main/getstring.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/getstring.c
b/src/mesa/main/getstring.c
index 41fd786d7d5aaaa89a097c6c7e1ba57d999a6795..6599ed9698d88f91ce28035fbd1a60f4175b3fab 100644
(file)
--- 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;
}