softpipe: Silence unused variable warning.
authorVinson Lee <vlee@vmware.com>
Mon, 28 Dec 2009 01:52:47 +0000 (17:52 -0800)
committerVinson Lee <vlee@vmware.com>
Mon, 28 Dec 2009 01:52:47 +0000 (17:52 -0800)
src/gallium/drivers/softpipe/sp_prim_vbuf.c

index 5fbac06a535ff4231aa782f4414929d2e8133c5b..7f573aef3c361dd781c7c33877a3e9f89825791b 100644 (file)
@@ -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 */
 }