diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-10-07 17:25:47 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-10-07 17:25:47 -0400 |
commit | 8c544272f218fd8bd93a898b96afedc2498b27bb (patch) | |
tree | 57df75c823c4a0c090cf5305c3b9e3933257e5f1 /src/radeon_textured_video.c | |
parent | 81360adffb2a66b9a95a38671f9227a9718c9841 (diff) |
fix the non-kms build
Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=30685
Diffstat (limited to 'src/radeon_textured_video.c')
-rw-r--r-- | src/radeon_textured_video.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c index f6828111..0d8d2aae 100644 --- a/src/radeon_textured_video.c +++ b/src/radeon_textured_video.c @@ -46,8 +46,10 @@ extern void R600DisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv); +#ifdef XF86DRM_MODE extern void EVERGREENDisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv); +#endif extern Bool R600CopyToVRAM(ScrnInfoPtr pScrn, @@ -475,9 +477,12 @@ RADEONPutImageTextured(ScrnInfoPtr pScrn, #endif #ifdef XF86DRI if (info->directRenderingEnabled) { +#ifdef XF86DRM_MODE if (IS_EVERGREEN_3D) EVERGREENDisplayTexturedVideo(pScrn, pPriv); - else if (IS_R600_3D) + else +#endif + if (IS_R600_3D) R600DisplayTexturedVideo(pScrn, pPriv); else if (IS_R500_3D) R500DisplayTexturedVideoCP(pScrn, pPriv); |