[Mesa-dev] [PATCH] mesa: add missing DebugMessageControl types

Timothy Arceri t_arceri at yahoo.com.au
Wed Feb 19 02:43:21 PST 2014


Signed-off-by: Timothy Arceri <t_arceri at yahoo.com.au>
---
 src/mesa/main/errors.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c
index 5f4eac6..c00c796 100644
--- a/src/mesa/main/errors.c
+++ b/src/mesa/main/errors.c
@@ -575,6 +575,11 @@ validate_params(struct gl_context *ctx, unsigned caller,
       /* this value is only valid for GL_KHR_debug functions */
       if (caller == CONTROL || caller == INSERT)
          break;
+   case GL_DEBUG_TYPE_PUSH_GROUP:
+   case GL_DEBUG_TYPE_POP_GROUP:
+      /* this value is only valid for GL_KHR_debug */
+      if (caller == CONTROL)
+         break;
    case GL_DONT_CARE:
       if (caller == CONTROL || caller == CONTROL_ARB)
          break;
-- 
1.8.5.3



More information about the mesa-dev mailing list