diff options
author | Kevin Brace <kevinbrace@gmx.com> | 2018-11-26 11:03:39 -0800 |
---|---|---|
committer | Kevin Brace <kevinbrace@gmx.com> | 2018-11-26 11:03:39 -0800 |
commit | 4ce40b932cdced590af1c32f6f491f63e9a247dd (patch) | |
tree | 5484474c5ea2c72e8c5d5da8c52022d836314ae4 | |
parent | 4017c6e91f8938f1f1617e53e30ee1d3d10d490c (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.h | 3 | ||||
-rw-r--r-- | src/mga_arc.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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 */ |