diff options
author | Jakob Bornecrantz <[email protected]> | 2009-10-08 13:13:36 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-10-08 13:42:40 +0200 |
commit | 552efdae06eae578da6d0c6d6bad4b662bce9735 (patch) | |
tree | 54c8bd1bf20bf91c02da9179a869881a4e4eaec9 /src/gallium/state_trackers/xorg | |
parent | a31d16cbfa5a74299f6b6acd4814d6393f46d66b (diff) |
st/xorg: Use A8 textures for depth 8 pixmaps
There is no hardware out there that can render to I8 textures.
Diffstat (limited to 'src/gallium/state_trackers/xorg')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_exa.c | 2 |
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 f7949bafaae..8920b243079 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa.c +++ b/src/gallium/state_trackers/xorg/xorg_exa.c @@ -76,7 +76,7 @@ exa_get_pipe_format(int depth, enum pipe_format *format, int *bbp) assert(*bbp == 16); break; case 8: - *format = PIPE_FORMAT_I8_UNORM; + *format = PIPE_FORMAT_A8_UNORM; assert(*bbp == 8); break; case 4: |