diff options
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); |