summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/shaderobj.c')
-rw-r--r--src/mesa/main/shaderobj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/shaderobj.c b/src/mesa/main/shaderobj.c
index 15c736e4fc5..e703d42738f 100644
--- a/src/mesa/main/shaderobj.c
+++ b/src/mesa/main/shaderobj.c
@@ -236,7 +236,7 @@ _mesa_reference_shader_program(struct gl_context *ctx,
}
void
-_mesa_init_shader_program(struct gl_context *ctx, struct gl_shader_program *prog)
+_mesa_init_shader_program(struct gl_shader_program *prog)
{
prog->Type = GL_SHADER_PROGRAM_MESA;
prog->RefCount = 1;
@@ -267,7 +267,7 @@ _mesa_new_shader_program(struct gl_context *ctx, GLuint name)
shProg = rzalloc(NULL, struct gl_shader_program);
if (shProg) {
shProg->Name = name;
- _mesa_init_shader_program(ctx, shProg);
+ _mesa_init_shader_program(shProg);
}
return shProg;
}