From: Jakob Bornecrantz Date: Thu, 8 Oct 2009 11:13:36 +0000 (+0200) Subject: st/xorg: Use A8 textures for depth 8 pixmaps X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=552efdae06eae578da6d0c6d6bad4b662bce9735;p=mesa.git st/xorg: Use A8 textures for depth 8 pixmaps There is no hardware out there that can render to I8 textures. --- 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: