summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2006-02-07 04:39:59 +0000
committerEric Anholt <anholt@freebsd.org>2006-02-07 04:39:59 +0000
commit79c60ebbc34aaf0ac0b0723898d5b63015547178 (patch)
tree170361c3c9dc95cefbf0b095cdcb0a223f4172f9 /src
parent8d74f3d49e73626f5d658ba6586a7c1487dae141 (diff)
Fix a copy'n'paste-o in the EXA render implementation that resulted in
[ax]8b8g8r8 pict formats not being supported on r200, but no other issues.
Diffstat (limited to 'src')
-rw-r--r--src/radeon_exa_render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c
index 3445e577..c4c4b25f 100644
--- a/src/radeon_exa_render.c
+++ b/src/radeon_exa_render.c
@@ -116,8 +116,8 @@ static struct formatinfo R100TexFormats[] = {
static struct formatinfo R200TexFormats[] = {
{PICT_a8r8g8b8, 0, R200_TXFORMAT_ARGB8888 | R200_TXFORMAT_ALPHA_IN_MAP},
{PICT_x8r8g8b8, 0, R200_TXFORMAT_ARGB8888},
- {PICT_a8r8g8b8, 1, R200_TXFORMAT_RGBA8888 | R200_TXFORMAT_ALPHA_IN_MAP},
- {PICT_x8r8g8b8, 1, R200_TXFORMAT_RGBA8888},
+ {PICT_a8b8g8r8, 1, R200_TXFORMAT_RGBA8888 | R200_TXFORMAT_ALPHA_IN_MAP},
+ {PICT_x8b8g8r8, 1, R200_TXFORMAT_RGBA8888},
{PICT_r5g6b5, 0, R200_TXFORMAT_RGB565},
{PICT_a1r5g5b5, 0, R200_TXFORMAT_ARGB1555 | R200_TXFORMAT_ALPHA_IN_MAP},
{PICT_x1r5g5b5, 0, R200_TXFORMAT_ARGB1555},