On 05/02/2011 05:01 PM, nobled wrote:
---
  src/mesa/main/mtypes.h |   10 ++++++++--
  1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 41f6470..d381719 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -3194,6 +3194,13 @@ OTHER_ERROR_OUT_OF_MEMORY,
  OTHER_ERROR_COUNT
  } OtherError;

+struct gl_client_debug
+{
+   GLboolean defaults[3][2][6]; /* severity, source, type */

The field should be named "Defaults" to match the style of other fields.


+   /* TODO: Add an object here that can track the state of an arbitrary
+      number of client-provided IDs. */
+};
+
  struct gl_debug_state
  {
     GLDEBUGPROCARB Callback;
@@ -3203,8 +3210,7 @@ struct gl_debug_state
     GLboolean WinsysErrors[WINSYS_ERROR_COUNT];
     GLboolean ShaderErrors[SHADER_ERROR_COUNT];
     GLboolean OtherErrors[OTHER_ERROR_COUNT];
-   /* TODO: Add an object here that tracks the state of client-provided IDs
-      in the APPLICATION and THIRD_PARTY namespaces. */
+   struct gl_client_debug ClientIDs;
     struct gl_debug_msg Log[_MESA_MAX_DEBUG_LOGGED_MESSAGES];
     GLint NumMessages;
     GLint NextMsg;



_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to