Module: Mesa Branch: master Commit: 552efdae06eae578da6d0c6d6bad4b662bce9735 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=552efdae06eae578da6d0c6d6bad4b662bce9735
Author: Jakob Bornecrantz <[email protected]> Date: Thu Oct 8 13:13:36 2009 +0200 st/xorg: Use A8 textures for depth 8 pixmaps There is no hardware out there that can render to I8 textures. --- 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 f7949ba..8920b24 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: _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
