summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-05-07 13:21:26 -0400
committerAdam Jackson <ajax@redhat.com>2008-05-07 13:21:26 -0400
commit9c2e0871cfbe54e73eec1f790a7e383d08555055 (patch)
tree098f50fd1617b83332c08d2e65fbfe120bbe97d2
parentb6a0c6d4864f73a18beb841b16e9be56f2fcd77e (diff)
Bug #13104: XAA: Adapt to glyph storage changes.
Glyph bits are now stored in a proper pixmap, not just hanging off the end of a GlyphRec.
-rw-r--r--hw/xfree86/xaa/xaaPict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/xaa/xaaPict.c b/hw/xfree86/xaa/xaaPict.c
index 74e90e3b6..76fcf09ce 100644
--- a/hw/xfree86/xaa/xaaPict.c
+++ b/hw/xfree86/xaa/xaaPict.c
@@ -660,7 +660,7 @@ XAADoGlyphs (CARD8 op,
pnt = pntr + (row * pitch) + (column >> 5);
column &= 31;
dwords = ((w + 31) >> 5) - 1;
- bits = (CARD32*)(glyph + 1);
+ bits = (CARD32 *)GlyphPixmap(glyph)[pScreen->myNum]->devPrivate.ptr;
if(dwords) {
while(h--) {
for(i = 0; i <= dwords; i++) {