main: Refactor in teximage.c to handle NULL from _mesa_get_current_tex_object.
authorLaura Ekstrand <laura@jlekstrand.net>
Tue, 9 Dec 2014 21:40:45 +0000 (13:40 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Thu, 8 Jan 2015 19:37:30 +0000 (11:37 -0800)
commit50d679381d2cd2413f2c3d4098b81f9c04d5de18
tree0d6be3ba48451f398ae17ce00d3c8d400776aeed
parent98e64e538afeaa800e1cdcbc7ce5d5093b274fe7
main: Refactor in teximage.c to handle NULL from _mesa_get_current_tex_object.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/teximage.c