From 99e8a3973f71d161eb4e9f51b038a5799945d2db Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 20 Oct 2014 15:24:05 -0700 Subject: mesa: Remove context parameter from dd_function_table::NewShaderProgram This fixes some unused parameter warnings introduced by the previous commit. Signed-off-by: Ian Romanick Reviewed-by: Brian Paul Reviewed-by: Matt Turner Reviewed-by: Kenneth Graunke --- src/mesa/main/shaderobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/shaderobj.c') diff --git a/src/mesa/main/shaderobj.c b/src/mesa/main/shaderobj.c index ce9aa098734..81bd7829d36 100644 --- a/src/mesa/main/shaderobj.c +++ b/src/mesa/main/shaderobj.c @@ -261,7 +261,7 @@ init_shader_program(struct gl_shader_program *prog) * Called via ctx->Driver.NewShaderProgram() */ static struct gl_shader_program * -_mesa_new_shader_program(struct gl_context *ctx, GLuint name) +_mesa_new_shader_program(GLuint name) { struct gl_shader_program *shProg; shProg = rzalloc(NULL, struct gl_shader_program); -- cgit v1.2.3