summaryrefslogtreecommitdiff
path: root/src/glamo.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-02-09 04:25:41 +0100
committerLars-Peter Clausen <lars@metafoo.de>2009-02-09 04:25:41 +0100
commit8062d7aa7bac7e06c1a00bd88ca78098550606ed (patch)
treedc369d9e4bbf29b06aa355c8e3751483a30f8ced /src/glamo.h
parentac3c1586c2f6d370536bcdaa95fb7147517738ee (diff)
Read the ring write address from the hardware, rather then using a local write
address. If the hardware address changes, for example during suspend/resume the code will still work.
Diffstat (limited to 'src/glamo.h')
-rw-r--r--src/glamo.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/glamo.h b/src/glamo.h
index aedef04..d65019b 100644
--- a/src/glamo.h
+++ b/src/glamo.h
@@ -139,8 +139,6 @@ typedef struct {
ExaOffscreenArea *exa_cmd_queue;
CARD16 *ring_addr; /* Beginning of ring buffer. */
- int ring_write; /* Index of write ptr in ring. */
- int ring_read; /* Index of read ptr in ring. */
int ring_len;
/*