mesa: fix GL_TEXTURE_INTERNAL_FORMAT query for compressed formats
authorBrian Paul <brianp@vmware.com>
Fri, 23 Oct 2009 20:40:40 +0000 (14:40 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 23 Oct 2009 20:45:44 +0000 (14:45 -0600)
commitcd62b4f00a11e9c548bd61652f88ab772d8421b8
treea1fa9a2a5f1cd68a80cfca448e7938267ae27ae5
parent9528dc6ed8d09eba0dc3be17dc5e9ef4add8083c
mesa: fix GL_TEXTURE_INTERNAL_FORMAT query for compressed formats

Need to return the actual compressed format when the user originally
requested a generic compressed format.
src/mesa/main/texparam.c