mesa: added _mesa_compressed_format_to_glenum()
authorBrian Paul <brianp@vmware.com>
Fri, 23 Oct 2009 20:37:41 +0000 (14:37 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 23 Oct 2009 20:45:44 +0000 (14:45 -0600)
commit9528dc6ed8d09eba0dc3be17dc5e9ef4add8083c
tree8a1c6be4650709846c40872fca6691fa614be5ac
parent5e4f5e41a487e9baa8a63842327d83cee659622e
mesa: added _mesa_compressed_format_to_glenum()

Maps a compressed MESA_FORMAT_x to correspding GLenum.  Needed for
querying a texture's actual format when a generic format was originally
requested.
src/mesa/main/texcompress.c
src/mesa/main/texcompress.h