summaryrefslogtreecommitdiffstats
path: root/src/glsl/standalone_scaffolding.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2014-10-20 14:50:55 -0700
committerIan Romanick <[email protected]>2014-10-24 19:54:38 -0700
commit9cdf2f78fc123b9bfd2ff23f6d5cd4e834596c2b (patch)
tree6a070b7f93a7c4d5b77aee85bc5375e90440b7af /src/glsl/standalone_scaffolding.cpp
parentfefead3b63584603278b3388cc9c426a8a44e92c (diff)
mesa: Silence unused parameter warning in _mesa_clear_shader_program_data
Just remove the parameter. 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/glsl/standalone_scaffolding.cpp')
-rw-r--r--src/glsl/standalone_scaffolding.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glsl/standalone_scaffolding.cpp b/src/glsl/standalone_scaffolding.cpp
index a635c969515..67b0d0c822c 100644
--- a/src/glsl/standalone_scaffolding.cpp
+++ b/src/glsl/standalone_scaffolding.cpp
@@ -84,8 +84,7 @@ _mesa_new_shader(struct gl_context *ctx, GLuint name, GLenum type)
}
void
-_mesa_clear_shader_program_data(struct gl_context *ctx,
- struct gl_shader_program *shProg)
+_mesa_clear_shader_program_data(struct gl_shader_program *shProg)
{
unsigned i;