summaryrefslogtreecommitdiff
path: root/src/evergreen_textured_videofuncs.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-10-07 17:25:47 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-10-07 17:25:47 -0400
commit8c544272f218fd8bd93a898b96afedc2498b27bb (patch)
tree57df75c823c4a0c090cf5305c3b9e3933257e5f1 /src/evergreen_textured_videofuncs.c
parent81360adffb2a66b9a95a38671f9227a9718c9841 (diff)
fix the non-kms build
Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=30685
Diffstat (limited to 'src/evergreen_textured_videofuncs.c')
-rw-r--r--src/evergreen_textured_videofuncs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/evergreen_textured_videofuncs.c b/src/evergreen_textured_videofuncs.c
index a6746806..428876fc 100644
--- a/src/evergreen_textured_videofuncs.c
+++ b/src/evergreen_textured_videofuncs.c
@@ -28,6 +28,8 @@
#include "config.h"
#endif
+#ifdef XF86DRM_MODE
+
#include "xf86.h"
#include "exa.h"
@@ -554,3 +556,5 @@ EVERGREENDisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
DamageDamageRegion(pPriv->pDraw, &pPriv->clip);
}
+
+#endif