diff options
author | Matt Turner <[email protected]> | 2014-11-13 17:35:58 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-12-05 16:43:31 -0800 |
commit | 5b1e51bfbe6f8b2fa51065bc6e5706c337211d3c (patch) | |
tree | 2451a3e37af302e58d407fe1f7ed9f492b329d68 /src/mesa/main/errors.c | |
parent | befdff81423a1b6a05969dfde59bfa9c521c4621 (diff) |
mesa: Add a source parameter to _mesa_gl_debug.
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/errors.c')
-rw-r--r-- | src/mesa/main/errors.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c index 7d622bb16cf..4e7853b9066 100644 --- a/src/mesa/main/errors.c +++ b/src/mesa/main/errors.c @@ -1395,6 +1395,7 @@ should_output(struct gl_context *ctx, GLenum error, const char *fmtString) void _mesa_gl_debug(struct gl_context *ctx, GLuint *id, + enum mesa_debug_source source, enum mesa_debug_type type, enum mesa_debug_severity severity, const char *fmtString, ...) @@ -1409,7 +1410,7 @@ _mesa_gl_debug(struct gl_context *ctx, len = _mesa_vsnprintf(s, MAX_DEBUG_MESSAGE_LENGTH, fmtString, args); va_end(args); - log_msg(ctx, MESA_DEBUG_SOURCE_API, type, *id, severity, len, s); + log_msg(ctx, source, type, *id, severity, len, s); } |