diff options
author | Vinson Lee <vlee@vmware.com> | 2010-10-08 16:30:59 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-10-08 16:30:59 -0700 |
commit | 5abd498c47e63ac4445360535b4591dbf6ea627a (patch) | |
tree | 03b3fea3447949d668b3eab960a8990a1b31b2af /src/mesa | |
parent | 978ffa1d61902f0d55e15fbc51af75d444f35124 (diff) |
i965: Silence unused variable warning on non-debug builds.
Fixes this GCC warning.
brw_vs.c: In function 'do_vs_prog':
brw_vs.c:46: warning: unused variable 'ctx'
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.c b/src/mesa/drivers/dri/i965/brw_vs.c index 9f90e1e5e5..b0cfd4fe1e 100644 --- a/src/mesa/drivers/dri/i965/brw_vs.c +++ b/src/mesa/drivers/dri/i965/brw_vs.c @@ -96,6 +96,7 @@ static void do_vs_prog( struct brw_context *brw, sizeof(c.prog_data)); assert(ctx->Const.VertexProgram.MaxNativeParameters == ARRAY_SIZE(c.constant_map)); + (void) ctx; aux_size = sizeof(c.prog_data); if (c.vp->use_const_buffer) |