From fd2b3da5c8cdbc5b00436185a3c03dfb7b7bd853 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Tue, 28 Jun 2016 09:41:59 +1000 Subject: glsl/main: remove unused params and make function static Reviewed-by: Iago Toral Quiroga --- src/mesa/main/shaderobj.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/mesa/main/shaderobj.h') diff --git a/src/mesa/main/shaderobj.h b/src/mesa/main/shaderobj.h index f331db11664..814a7f11552 100644 --- a/src/mesa/main/shaderobj.h +++ b/src/mesa/main/shaderobj.h @@ -75,12 +75,8 @@ _mesa_reference_shader_program(struct gl_context *ctx, _mesa_reference_shader_program_(ctx, ptr, shProg); } - -extern void -_mesa_init_shader(struct gl_context *ctx, struct gl_shader *shader); - extern struct gl_shader * -_mesa_new_shader(struct gl_context *ctx, GLuint name, gl_shader_stage type); +_mesa_new_shader(GLuint name, gl_shader_stage type); extern struct gl_linked_shader * _mesa_new_linked_shader(gl_shader_stage type); -- cgit v1.2.3