summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-05 08:00:33 +0000
committerKeith Whitwell <[email protected]>2009-11-05 08:00:33 +0000
commit2475e5db679a70c4a3868dc07037d009865a6694 (patch)
tree8aec7b9e6d41aed57489bdb1cdf42866cdbbd964
parent47cbbb7253f89ff165c4953758efaaca19adf16f (diff)
i965g: fix compiler warning
-rw-r--r--src/gallium/drivers/i965/brw_misc_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_misc_state.c b/src/gallium/drivers/i965/brw_misc_state.c
index b562eb71529..8e35f9ad1d6 100644
--- a/src/gallium/drivers/i965/brw_misc_state.c
+++ b/src/gallium/drivers/i965/brw_misc_state.c
@@ -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;
}