mesa: do more thorough target checking in compressed_subtexture_target_check()
authorBrian Paul <brianp@vmware.com>
Wed, 22 Jul 2015 13:53:01 +0000 (07:53 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 24 Jul 2015 02:19:50 +0000 (20:19 -0600)
commit3afa40e43368b29ca99018999936336c3879fa4d
tree627a7b3ef0dba0dde7717d993f84fbf687e2bab8
parent05a44ab32832efe61a252ef4ac2d128c1101c286
mesa: do more thorough target checking in compressed_subtexture_target_check()

When we're error-checking the target, we also need to check if the
corresponding extension is supported.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/main/teximage.c