summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xorg
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2009-09-25 20:38:49 +0200
committerMichel Dänzer <[email protected]>2009-09-25 20:38:49 +0200
commitb97547027e0f049d1ceef7863815d53e471fb18c (patch)
tree90d70b3601024926d5b7d9d51f654bb9e95c774e /src/gallium/state_trackers/xorg
parent67fb13ba682951d3aa61efca25614cdde6bb70f2 (diff)
st/xorg: Use I8 format instead of A8 for depth 8 pixmaps.
Seems to work better for Composite acceleration.
Diffstat (limited to 'src/gallium/state_trackers/xorg')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_exa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c
index 1bb274e6bdd..94f4ea2c386 100644
--- a/src/gallium/state_trackers/xorg/xorg_exa.c
+++ b/src/gallium/state_trackers/xorg/xorg_exa.c
@@ -75,7 +75,7 @@ exa_get_pipe_format(int depth, enum pipe_format *format, int *bbp)
assert(*bbp == 16);
break;
case 8:
- *format = PIPE_FORMAT_A8_UNORM;
+ *format = PIPE_FORMAT_I8_UNORM;
assert(*bbp == 8);
break;
case 4: