summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-06-20 15:35:16 +1000
committerDave Airlie <airlied@redhat.com>2008-06-20 15:35:16 +1000
commit9d79944a93e8e164e2261cdeb10cbd49ff8f314d (patch)
tree9825db2ffdb546291edc116c528fd719a74d2f8e
parent8712f0a17bb135d4ad3eb85b30f47c561cf9c148 (diff)
r300: fix warning
-rw-r--r--shared-core/r300_cmdbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/r300_cmdbuf.c b/shared-core/r300_cmdbuf.c
index cdb35d27..254c0691 100644
--- a/shared-core/r300_cmdbuf.c
+++ b/shared-core/r300_cmdbuf.c
@@ -756,8 +756,8 @@ static __inline__ int r300_emit_packet3(drm_radeon_private_t *dev_priv,
*/
static __inline__ void r300_pacify(drm_radeon_private_t *dev_priv)
{
- RING_LOCALS;
uint32_t cache_z, cache_3d, cache_2d;
+ RING_LOCALS;
cache_z = R300_ZC_FLUSH;
cache_2d = R300_RB2D_DC_FLUSH;