summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-08-25 17:42:16 -0700
committerIan Romanick <[email protected]>2011-09-09 12:01:52 -0700
commite12b4752ef3cbc181d84c1eba672760f120ad346 (patch)
treeb378c9cd96aaddd78527c3d2eefd7aace286255f /src/mesa/main
parent8b3096cfa4af6bc86a852bf1c773acb097a2789f (diff)
nvprogram: Silence "warning: unused parameter ‘ctx’"
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/nvprogram.c2
-rw-r--r--src/mesa/main/nvprogram.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/nvprogram.c b/src/mesa/main/nvprogram.c
index 7ff7645b7b7..a0e89b10f5e 100644
--- a/src/mesa/main/nvprogram.c
+++ b/src/mesa/main/nvprogram.c
@@ -560,7 +560,7 @@ _mesa_emit_nv_temp_initialization(struct gl_context *ctx,
}
void
-_mesa_setup_nv_temporary_count(struct gl_context *ctx, struct gl_program *program)
+_mesa_setup_nv_temporary_count(struct gl_program *program)
{
GLuint i;
diff --git a/src/mesa/main/nvprogram.h b/src/mesa/main/nvprogram.h
index 3a55783773b..fc579a9fe76 100644
--- a/src/mesa/main/nvprogram.h
+++ b/src/mesa/main/nvprogram.h
@@ -110,7 +110,7 @@ _mesa_GetProgramNamedParameterdvNV(GLuint id, GLsizei len, const GLubyte *name,
GLdouble *params);
extern void
-_mesa_setup_nv_temporary_count(struct gl_context *ctx, struct gl_program *program);
+_mesa_setup_nv_temporary_count(struct gl_program *program);
extern void
_mesa_emit_nv_temp_initialization(struct gl_context *ctx,