mesa/main: In _mesa_CompressedTextureSubImage3D() check found texObj
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Mon, 12 Jan 2015 13:27:24 +0000 (15:27 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 12 Jan 2015 17:56:43 +0000 (09:56 -0800)
commitc503ce104419a7ba39db6a0989a15d888f4b0d36
tree91c84f7de8f7812f40714381c637f6dc4497f2f9
parent457d40e9e880b410bf9f43b15c1927000ab3f440
mesa/main: In _mesa_CompressedTextureSubImage3D() check found texObj

Check returned texObj is not null. If texObj is null there is already
GL_INVALID_OPERATION error set.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
src/mesa/main/teximage.c