summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alex@samba.(none)>2008-03-19 12:07:33 -0400
committerAlex Deucher <alex@samba.(none)>2008-03-19 12:07:33 -0400
commit85d0c9e8d22ccc72bec87b3fd44da5d7609293e0 (patch)
tree3bceaa7a29b8af2fcb661de9fa091ab25a4fd6f3
parentf5951db7b3522e0fe6af7f46a170c9c9a60a9bff (diff)
RADEON: fixed textured video with XAA and tiling
-rw-r--r--src/radeon_textured_video.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c
index 6072c0e6..05dd20e4 100644
--- a/src/radeon_textured_video.c
+++ b/src/radeon_textured_video.c
@@ -60,6 +60,9 @@ RADEONTilingEnabled(ScrnInfoPtr pScrn, PixmapPtr pPix)
} else
#endif
{
+ if (info->tilingEnabled && ((pPix->devPrivate.ptr - info->FB) == 0))
+ return TRUE;
+ else
return FALSE;
}
}