summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/errors.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-02-22 15:57:25 -0800
committerEric Anholt <[email protected]>2013-03-05 14:25:00 -0800
commitc72cf538173329f639c2b64ef091dbd4a71e0bf6 (patch)
tree193a70e5dac656ee98100e85bd738e8c2d7836f2 /src/mesa/main/errors.h
parentf0a191ca0ff197f0f0c00be0b4b94169ec81f71f (diff)
mesa: Report ARB_debug_output for both shader errors and warnings.
This ends up reusing the dynamic ID support, so a silly enum gets to go away. We don't assign good IDs to different messages yet, but at least that's tractable now. Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/main/errors.h')
-rw-r--r--src/mesa/main/errors.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/errors.h b/src/mesa/main/errors.h
index aa69931a815..7d8be5aca76 100644
--- a/src/mesa/main/errors.h
+++ b/src/mesa/main/errors.h
@@ -74,7 +74,8 @@ _mesa_gl_debug(struct gl_context *ctx,
const char *fmtString, ...) PRINTFLIKE(5, 6);
extern void
-_mesa_shader_debug( struct gl_context *ctx, GLenum type, GLuint id, const char *msg, int len );
+_mesa_shader_debug(struct gl_context *ctx, GLenum type, GLuint *id,
+ const char *msg, int len);
void GLAPIENTRY
_mesa_DebugMessageInsertARB(GLenum source, GLenum type, GLuint id,