gallium: fix surface/texture format conversion in st_CopyPixels
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 28 Feb 2008 18:31:56 +0000 (11:31 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 28 Feb 2008 18:36:54 +0000 (11:36 -0700)
commit70126588cf78b8a835dfced2b7ca7f1e05afeb67
treed4e979527deb66327d11ee25aaecddcd9033108c
parent01e53be2b80d5bcb48102f7f1be507b6a5a5832a
gallium: fix surface/texture format conversion in st_CopyPixels

If the src buffer's format isn't supported as a texture format, find a different
texture format.
src/mesa/state_tracker/st_cb_drawpixels.c