diff options
author | Ian Romanick <[email protected]> | 2014-10-20 15:24:05 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-10-24 19:54:39 -0700 |
commit | 99e8a3973f71d161eb4e9f51b038a5799945d2db (patch) | |
tree | 55f98dae40aa2ded6e2ff54c6c9d25581cdbf6d8 /src/mesa/main/shaderobj.c | |
parent | c76cc7bab09acec070117e432069ced04b4d6fa3 (diff) |
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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderobj.c')
-rw-r--r-- | src/mesa/main/shaderobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |