draw: squash warnings
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 1 May 2008 12:47:27 +0000 (13:47 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 1 May 2008 12:47:27 +0000 (13:47 +0100)
src/gallium/auxiliary/draw/draw_pt_varray.c
src/gallium/auxiliary/draw/draw_pt_vcache.c

index c85d8ded50cf4cea47e2ca15d74e04ce6fec6215..355093f945e8d8b92cfce99e2ba350f043132402 100644 (file)
@@ -200,7 +200,6 @@ static void varray_prepare(struct draw_pt_front_end *frontend,
                            unsigned opt)
 {
    struct varray_frontend *varray = (struct varray_frontend *)frontend;
-   const struct pipe_rasterizer_state *rasterizer = varray->draw->rasterizer;
 
    if (opt & PT_PIPELINE)
    {
index 2f9775814f53dfdaa502099ec9c9f7a0b5c7218f..6b3fb1406baaa9f2f2a09b4e0cd4d4bb87a48b26 100644 (file)
@@ -225,7 +225,6 @@ static void vcache_prepare( struct draw_pt_front_end *frontend,
                            unsigned opt )
 {
    struct vcache_frontend *vcache = (struct vcache_frontend *)frontend;
-   const struct pipe_rasterizer_state *rasterizer = vcache->draw->rasterizer;
 
    if (opt & PT_PIPELINE)
    {