summaryrefslogtreecommitdiffstats
path: root/src/glsl/standalone_scaffolding.cpp
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.cpp
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.cpp')
-rw-r--r--src/glsl/standalone_scaffolding.cpp2
1 files changed, 1 insertions, 1 deletions
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 *)
{
}