mesa: fix multisampling proxy textures not being queryable
authorMikko Juola <mikjuo@gmail.com>
Tue, 30 Jul 2013 17:39:00 +0000 (20:39 +0300)
committerBrian Paul <brianp@vmware.com>
Wed, 31 Jul 2013 13:27:01 +0000 (07:27 -0600)
commit8624a514c21e00ec51d4d9d2f4aee315378357ae
tree4b106d34b88efd340d31dc56f96f4e5c001da840
parente404105e7dc192ddfb88b80df4238a97caedf32e
mesa: fix multisampling proxy textures not being queryable

The code that checks if some texture target is valid for
glGetTexLevelParameter*() was not programmed to check for multisampling
proxy textures.  This made it impossible(?) to use the proxy textures
for their intended purpose as glGetTexLevelParameter*() would just fail
on you.

Reviewed-by: Brian Paul <brianp@vmware.com>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/main/texparam.c