summaryrefslogtreecommitdiff
path: root/mi/mipoly.c
diff options
context:
space:
mode:
Diffstat (limited to 'mi/mipoly.c')
-rw-r--r--mi/mipoly.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mi/mipoly.c b/mi/mipoly.c
index b3e2c2fb1..974cf959c 100644
--- a/mi/mipoly.c
+++ b/mi/mipoly.c
@@ -50,7 +50,7 @@ SOFTWARE.
* Written by Brian Kelleher; June 1986
*
* Draw polygons. This routine translates the point by the
- * origin if pGC->miTranslate is non-zero, and calls
+ * origin if pGC->pScreen->miTranslate is non-zero, and calls
* to the appropriate routine to actually scan convert the
* polygon.
*/
@@ -64,6 +64,7 @@ SOFTWARE.
#include "pixmapstr.h"
#include "mi.h"
#include "regionstr.h"
+#include "scrnintstr.h"
void
@@ -79,7 +80,7 @@ miFillPolygon( DrawablePtr dst, GCPtr pgc,
return;
ppt = pPts;
- if (pgc->miTranslate)
+ if (pgc->pScreen->miTranslate)
{
xorg = dst->x;
yorg = dst->y;