summaryrefslogtreecommitdiff
path: root/src/mga_storm.c
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-03-03 12:12:19 +0000
committerEgbert Eich <eich@suse.de>2004-03-03 12:12:19 +0000
commitd8072750f830173e3c9eefae8364d12190b20c26 (patch)
treebfc99c3d4bdcc4ef6bb59fcca5294ef1f49e1fec /src/mga_storm.c
parentddb58a6e1be274dce96cc7c29965a45c2294c5d3 (diff)
Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0STSF-CURRENT
Diffstat (limited to 'src/mga_storm.c')
-rw-r--r--src/mga_storm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mga_storm.c b/src/mga_storm.c
index 1ddbed9..aa14f6f 100644
--- a/src/mga_storm.c
+++ b/src/mga_storm.c
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/mga/mga_storm.c,v 1.99 2004/01/29 03:28:25 dawes Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/mga/mga_storm.c,v 1.99tsi Exp $ */
/* All drivers should typically include these */
@@ -2361,6 +2361,7 @@ MGAPolyPoint (
BoxPtr pbox;
MGAPtr pMga;
int xorg, yorg;
+ ScrnInfoPtr pScrn;
if(!numRects) return;
@@ -2370,7 +2371,8 @@ MGAPolyPoint (
}
infoRec = GET_XAAINFORECPTR_FROM_GC(pGC);
- pMga = MGAPTR(infoRec->pScrn);
+ pScrn = infoRec->pScrn;
+ pMga = MGAPTR(pScrn);
xorg = pDraw->x;
yorg = pDraw->y;