Don't use _mesa_swizzle_ubyte_image if all three texture formats
authorFelix Kuehling <fxkuehl@gmx.de>
Mon, 16 May 2005 23:01:09 +0000 (23:01 +0000)
committerFelix Kuehling <fxkuehl@gmx.de>
Mon, 16 May 2005 23:01:09 +0000 (23:01 +0000)
commitffd97d20aaa1cf7fa683d25deb0391f24ff14589
tree633ed61cfb00e0a001d4f2f322e6a026fa6f001c
parenta33f0d302445cbef740fb8c454ec0e2d5acb0458
Don't use _mesa_swizzle_ubyte_image if all three texture formats
involved in _mesa_textore_argb/rgba8888 (source, base-internal,
destination) differ. _mesa_swizzle_ubyte_image knows only about two of
the formats and can't handle the case that all three are different
correctly. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=3111.
src/mesa/main/texstore.c