summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/errors.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-11-27 13:12:59 +0000
committerEmil Velikov <[email protected]>2015-11-29 14:41:40 +0000
commitd37ebed470c6c37abfc6fe42079bff027ff58e9d (patch)
tree5fe33072a86946b076a999821d7c9510adc3b6eb /src/mesa/main/errors.h
parente714c971aea25323579d34d953bb597a5981bafd (diff)
mesa: remove len argument from _mesa_shader_debug()
There was only a single user which was using strlen(buf). As this function is not user facing (i.e. we don't need to feed back original length via a callback), we can simplify things. Suggested-by: Timothy Arceri <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/errors.h')
-rw-r--r--src/mesa/main/errors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/errors.h b/src/mesa/main/errors.h
index 81e47a8b8c1..f2919765488 100644
--- a/src/mesa/main/errors.h
+++ b/src/mesa/main/errors.h
@@ -115,7 +115,7 @@ _mesa_get_debug_state_ptr(struct gl_context *ctx, GLenum pname);
extern void
_mesa_shader_debug(struct gl_context *ctx, GLenum type, GLuint *id,
- const char *msg, int len);
+ const char *msg);
void GLAPIENTRY
_mesa_DebugMessageInsert(GLenum source, GLenum type, GLuint id,