From 32c410d2df2b9c9476834bf891cdcf8254bdfb4e Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Tue, 28 Jun 2016 07:52:46 +1000 Subject: glsl: simplify link_uniform_blocks() There is only ever one shader so simplify the input params. Reviewed-by: Iago Toral Quiroga --- src/compiler/glsl/linker.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/compiler/glsl/linker.h') diff --git a/src/compiler/glsl/linker.h b/src/compiler/glsl/linker.h index 19b14d50696..0126bcb67c8 100644 --- a/src/compiler/glsl/linker.h +++ b/src/compiler/glsl/linker.h @@ -57,8 +57,7 @@ extern void link_uniform_blocks(void *mem_ctx, struct gl_context *ctx, struct gl_shader_program *prog, - struct gl_linked_shader **shader_list, - unsigned num_shaders, + struct gl_linked_shader *shader, struct gl_uniform_block **ubo_blocks, unsigned *num_ubo_blocks, struct gl_uniform_block **ssbo_blocks, -- cgit v1.2.3