From d37ebed470c6c37abfc6fe42079bff027ff58e9d Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 27 Nov 2015 13:12:59 +0000 Subject: 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 Signed-off-by: Emil Velikov Reviewed-by: Timothy Arceri --- src/glsl/standalone_scaffolding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glsl/standalone_scaffolding.cpp') diff --git a/src/glsl/standalone_scaffolding.cpp b/src/glsl/standalone_scaffolding.cpp index f3e34c6ff05..1f69d0dbd2a 100644 --- a/src/glsl/standalone_scaffolding.cpp +++ b/src/glsl/standalone_scaffolding.cpp @@ -63,7 +63,7 @@ _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr, void _mesa_shader_debug(struct gl_context *, GLenum, GLuint *, - const char *, int) + const char *) { } -- cgit v1.2.3