projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
978ffa1
)
i965: Silence unused variable warning on non-debug builds.
author
Vinson Lee
<vlee@vmware.com>
Fri, 8 Oct 2010 23:30:59 +0000
(16:30 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 8 Oct 2010 23:30:59 +0000
(16:30 -0700)
Fixes this GCC warning.
brw_vs.c: In function 'do_vs_prog':
brw_vs.c:46: warning: unused variable 'ctx'
src/mesa/drivers/dri/i965/brw_vs.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vs.c
b/src/mesa/drivers/dri/i965/brw_vs.c
index 9f90e1e5e5c818182ec326d15737a4972f642f01..b0cfd4fe1e372e39a645b3cb66e8b1365faffa13 100644
(file)
--- 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)