mesa: add missing DebugMessageControl types
authorTimothy Arceri <t_arceri@yahoo.com.au>
Sat, 8 Mar 2014 04:37:46 +0000 (15:37 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Sat, 8 Mar 2014 04:38:31 +0000 (15:38 +1100)
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/errors.c

index 91f62da..8ec6a8c 100644 (file)
@@ -524,6 +524,8 @@ validate_params(struct gl_context *ctx, unsigned caller,
    case GL_DEBUG_TYPE_OTHER_ARB:
    case GL_DEBUG_TYPE_MARKER:
       break;
+   case GL_DEBUG_TYPE_PUSH_GROUP:
+   case GL_DEBUG_TYPE_POP_GROUP:
    case GL_DONT_CARE:
       if (caller == CONTROL)
          break;