summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_prim_vbuf.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-12-27 17:52:47 -0800
committerVinson Lee <vlee@vmware.com>2009-12-27 17:52:47 -0800
commit180ccffe550698d860e06d3cf5e16e4d9c3e7ddd (patch)
tree6ffc66fb886323aa0cf5afec554bd71e9aa55284 /src/gallium/drivers/softpipe/sp_prim_vbuf.c
parent0463ee64e39951257d0bb7c5a9b6c894fe761dd1 (diff)
softpipe: Silence unused variable warning.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_prim_vbuf.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_prim_vbuf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_prim_vbuf.c b/src/gallium/drivers/softpipe/sp_prim_vbuf.c
index 5fbac06a53..7f573aef3c 100644
--- a/src/gallium/drivers/softpipe/sp_prim_vbuf.c
+++ b/src/gallium/drivers/softpipe/sp_prim_vbuf.c
@@ -128,6 +128,7 @@ sp_vbuf_unmap_vertices(struct vbuf_render *vbr,
{
struct softpipe_vbuf_render *cvbr = softpipe_vbuf_render(vbr);
assert( cvbr->vertex_buffer_size >= (max_index+1) * cvbr->vertex_size );
+ (void) cvbr;
/* do nothing */
}