mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 17:50:35 +01:00
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'
This commit is contained in:
parent
978ffa1d61
commit
5abd498c47
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue