diff options
author | Dave Airlie <airlied@gmail.com> | 2012-07-13 14:47:40 +1000 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2012-07-13 14:47:40 +1000 |
commit | e443ede15981549ff5f6b01f42c3cb8dc909d778 (patch) | |
tree | 0d9bca6a6f8e4a0250c65b71a4724788ef71a630 /src/lg_xaa.c | |
parent | 46a9e962c6f33509e89d664115a9a2db51c9b67d (diff) |
cirrus: handle server with no XAA
this fixes cirrus to work with a server with no XAA module.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/lg_xaa.c')
-rw-r--r-- | src/lg_xaa.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lg_xaa.c b/src/lg_xaa.c index 45ecea7..5e6e72e 100644 --- a/src/lg_xaa.c +++ b/src/lg_xaa.c @@ -26,6 +26,8 @@ #include "cir.h" #define _LG_PRIVATE_ #include "lg.h" + +#ifdef HAVE_XAA_H #include "lg_xaa.h" /* Laguna raster operations, source is OP1 and destination is OP0. */ @@ -296,4 +298,4 @@ LgSubsequentScreenToScreenCopy(ScrnInfoPtr pScrn, int x1, int y1, LgSETDSTXY(x2, y2); LgSETEXTENTS(w, h); } - +#endif |