i965g: fix compiler warning
authorKeith Whitwell <keithw@vmware.com>
Thu, 5 Nov 2009 08:00:33 +0000 (08:00 +0000)
committerKeith Whitwell <keithw@vmware.com>
Thu, 5 Nov 2009 08:00:33 +0000 (08:00 +0000)
src/gallium/drivers/i965/brw_misc_state.c

index b562eb715298c397b1fc149498502fc11b55b3b3..8e35f9ad1d6dc9a958d487968f4b453d20ec98ea 100644 (file)
@@ -343,7 +343,7 @@ const struct brw_tracked_state brw_polygon_stipple = {
 
 static int upload_line_stipple(struct brw_context *brw)
 {
-   struct brw_line_stipple *bls = &brw->curr.rast->bls;
+   const struct brw_line_stipple *bls = &brw->curr.rast->bls;
    BRW_CACHED_BATCH_STRUCT(brw, bls);
    return 0;
 }