Signed-off-by: Kevin Brace <[email protected]>
---
src/mga.h | 3 ++-
src/mga_arc.c | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
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 */
--
2.7.4
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel