summaryrefslogtreecommitdiff
path: root/src/mga_storm.c
diff options
context:
space:
mode:
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;