summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-07-15 13:29:58 +0100
committerKeith Whitwell <keithw@vmware.com>2009-07-15 13:31:51 +0100
commitfdeb77899052302053459b8a840a747346e30468 (patch)
tree333a25e0f5a8376041e96fc96a19d82121b52bdd /src/mesa/main/mtypes.h
parent59de430de70c38a2fbe30208190f725a2901613c (diff)
mesa: recognize and eliminate repeated error messages
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index bdaa4977b7..3b0ebcb7ae 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2955,6 +2955,13 @@ struct __GLcontextRec
#endif
GLenum ErrorValue; /**< Last error code */
+
+ /**
+ * Recognize and silence repeated error debug messages in buggy apps.
+ */
+ const char *ErrorDebugFmtString;
+ GLuint ErrorDebugCount;
+
GLenum RenderMode; /**< either GL_RENDER, GL_SELECT, GL_FEEDBACK */
GLbitfield NewState; /**< bitwise-or of _NEW_* flags */