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/shaderapi.c | |
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/shaderapi.c')
-rw-r--r-- | src/mesa/main/shaderapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index 962b42e62ae..fdfe1e7c6c4 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -334,7 +334,7 @@ create_shader(struct gl_context *ctx, GLenum type) _mesa_HashLockMutex(ctx->Shared->ShaderObjects); name = _mesa_HashFindFreeKeyBlock(ctx->Shared->ShaderObjects, 1); - sh = _mesa_new_shader(ctx, name, _mesa_shader_enum_to_shader_stage(type)); + sh = _mesa_new_shader(name, _mesa_shader_enum_to_shader_stage(type)); sh->Type = type; _mesa_HashInsertLocked(ctx->Shared->ShaderObjects, name, sh); _mesa_HashUnlockMutex(ctx->Shared->ShaderObjects); |