summaryrefslogtreecommitdiffstats
path: root/src/glsl/standalone_scaffolding.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/glsl/standalone_scaffolding.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/glsl/standalone_scaffolding.h')
-rw-r--r--src/glsl/standalone_scaffolding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/standalone_scaffolding.h b/src/glsl/standalone_scaffolding.h
index a9ca5e4e3d3..f853a187bf4 100644
--- a/src/glsl/standalone_scaffolding.h
+++ b/src/glsl/standalone_scaffolding.h
@@ -52,7 +52,7 @@ _mesa_clear_shader_program_data(struct gl_shader_program *);
extern "C" void
_mesa_shader_debug(struct gl_context *ctx, GLenum type, GLuint *id,
- const char *msg, int len);
+ const char *msg);
static inline gl_shader_stage
_mesa_shader_enum_to_shader_stage(GLenum v)