diff options
author | Timothy Arceri <[email protected]> | 2016-06-28 09:41:59 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-06-30 16:51:25 +1000 |
commit | fd2b3da5c8cdbc5b00436185a3c03dfb7b7bd853 (patch) | |
tree | 7c08cfcdb3d15870a979b5b0641a9a1aeca4c0cd /src/mesa/main/shaderobj.h | |
parent | 32c410d2df2b9c9476834bf891cdcf8254bdfb4e (diff) |
glsl/main: remove unused params and make function static
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderobj.h')
-rw-r--r-- | src/mesa/main/shaderobj.h | 6 |
1 files changed, 1 insertions, 5 deletions
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); |