EXT-2387 crash on dump local textures
EXT-2387 crash on dump local textures

we didn't check local_tex_obj for NULL before using it. checked to make sure
pointer is not null before calling ->getImage()

gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm