meta/texsubimage: tex_image is always non-null, avoid confusing code
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 8 Jul 2016 16:35:11 +0000 (12:35 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 12 Jul 2016 01:18:05 +0000 (21:18 -0400)
commit8b7607d28a4d0db43a9bc5618d7f6ff44daa0dc2
treea52e3067a95117276f672fd860506706c0b0f4a8
parent00d4315d37ec736fccfee50a402fa2a929054bde
meta/texsubimage: tex_image is always non-null, avoid confusing code

Probably a copy-paste from mesa_meta_pbo_GetTexSubImage where tex_image
may apparently be null.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/mesa/drivers/common/meta_tex_subimage.c