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/dd.h | |
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/dd.h')
-rw-r--r-- | src/mesa/main/dd.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index c07e83ad911..2f40915d91f 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -758,8 +758,7 @@ struct dd_function_table { struct gl_shader *(*NewShader)(struct gl_context *ctx, GLuint name, GLenum type); void (*DeleteShader)(struct gl_context *ctx, struct gl_shader *shader); - struct gl_shader_program *(*NewShaderProgram)(struct gl_context *ctx, - GLuint name); + struct gl_shader_program *(*NewShaderProgram)(GLuint name); void (*DeleteShaderProgram)(struct gl_context *ctx, struct gl_shader_program *shProg); void (*UseProgram)(struct gl_context *ctx, struct gl_shader_program *shProg); |