diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2013-07-07 13:44:13 +0200 |
---|---|---|
committer | Michel Dänzer <michel.daenzer@amd.com> | 2013-07-10 10:59:20 +0200 |
commit | c16c59f8f9b6aa7a4a6a6465582ad98f02a3606a (patch) | |
tree | 5baa731eadb9d646c0bbec71ae046fd8b7ec377d | |
parent | 1239dbbd8c8d9b55756c1de52cad353171a06522 (diff) |
Always go through DFS/UTS when byte swapping is needed.
Before commit ef9bfb262db7004bef3704e5d914687e50d3fca4 and
e5bd99faa3b6629a55168386d5dfa936ee4e97ae, byte swapping for the front buffer
used to be done in hardware. Now that this no longer happens we need to let
DFS/UTS ihandle the byte swapping.
See https://bugs.freedesktop.org/show_bug.cgi?id=66663 .
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
-rw-r--r-- | src/radeon_exa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c index fcafb680..cf368d5b 100644 --- a/src/radeon_exa.c +++ b/src/radeon_exa.c @@ -172,7 +172,7 @@ Bool RADEONPrepareAccess_CS(PixmapPtr pPix, int index) #if X_BYTE_ORDER == X_BIG_ENDIAN /* May need to handle byte swapping in DownloadFrom/UploadToScreen */ - if (can_fail && pPix->drawable.bitsPerPixel > 8) + if (pPix->drawable.bitsPerPixel > 8) return FALSE; #endif |