summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-06-28 09:41:59 +1000
committerTimothy Arceri <[email protected]>2016-06-30 16:51:25 +1000
commitfd2b3da5c8cdbc5b00436185a3c03dfb7b7bd853 (patch)
tree7c08cfcdb3d15870a979b5b0641a9a1aeca4c0cd /src/mesa/drivers/common
parent32c410d2df2b9c9476834bf891cdcf8254bdfb4e (diff)
glsl/main: remove unused params and make function static
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common')
-rw-r--r--src/mesa/drivers/common/meta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index df57c87fa3f..fdc4748602f 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -129,7 +129,7 @@ meta_compile_shader_with_debug(struct gl_context *ctx, gl_shader_stage stage,
const GLuint name = ~0;
struct gl_shader *sh;
- sh = _mesa_new_shader(ctx, name, stage);
+ sh = _mesa_new_shader(name, stage);
sh->Source = strdup(source);
sh->CompileStatus = false;
_mesa_compile_shader(ctx, sh);