From e12b4752ef3cbc181d84c1eba672760f120ad346 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 25 Aug 2011 17:42:16 -0700 Subject: nvprogram: Silence "warning: unused parameter ‘ctx’" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mesa/program/nvvertparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/program') 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 { -- cgit v1.2.3