summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2018-11-26 11:03:39 -0800
committerKevin Brace <kevinbrace@gmx.com>2018-11-26 11:03:39 -0800
commit4ce40b932cdced590af1c32f6f491f63e9a247dd (patch)
tree5484474c5ea2c72e8c5d5da8c52022d836314ae4
parent4017c6e91f8938f1f1617e53e30ee1d3d10d490c (diff)
Suppression of a compilation error when XAA is not in use
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
-rw-r--r--src/mga.h3
-rw-r--r--src/mga_arc.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/mga.h b/src/mga.h
index f47b0af..1a7cb47 100644
--- a/src/mga.h
+++ b/src/mga.h
@@ -737,8 +737,9 @@ Bool mgaExaInit(ScreenPtr pScreen);
Bool MGAHWCursorInit(ScreenPtr pScreen);
-
+#ifdef USE_XAA
void MGAPolyArcThinSolid(DrawablePtr, GCPtr, int, xArc*);
+#endif /* USE_XAA */
Bool MGADGAInit(ScreenPtr pScreen);
diff --git a/src/mga_arc.c b/src/mga_arc.c
index 61ade3b..3c9dd42 100644
--- a/src/mga_arc.c
+++ b/src/mga_arc.c
@@ -59,6 +59,7 @@ in this Software without prior written authorization from The Open Group.
OUTREG(MGAREG_YDSTLEN + MGAREG_EXEC, ((y) << 16) | 1); \
}
+#ifdef USE_XAA
static void
MGAZeroArc(
DrawablePtr pDraw,
@@ -220,4 +221,5 @@ MGAPolyArcThinSolid (
miPolyArc(pDraw, pGC, 1, arc);
}
}
+#endif /* USE_XAA */