summaryrefslogtreecommitdiffstats
path: root/src/mesa/program
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/program
parent8b3096cfa4af6bc86a852bf1c773acb097a2789f (diff)
nvprogram: Silence "warning: unused parameter ‘ctx’"
Diffstat (limited to 'src/mesa/program')
-rw-r--r--src/mesa/program/nvvertparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/nvvertparse.c b/src/mesa/program/nvvertparse.c
index bdd44a45133..91fe2c48b7f 100644
--- a/src/mesa/program/nvvertparse.c
+++ b/src/mesa/program/nvvertparse.c
@@ -1427,7 +1427,7 @@ _mesa_parse_nv_vertex_program(struct gl_context *ctx, GLenum dstTarget,
}
program->Base.NumParameters = program->Base.Parameters->NumParameters;
- _mesa_setup_nv_temporary_count(ctx, &program->Base);
+ _mesa_setup_nv_temporary_count(&program->Base);
_mesa_emit_nv_temp_initialization(ctx, &program->Base);
}
else {