st/mesa: fix some incorrect branching/clean-up code in TexImage functions
authorBrian Paul <brianp@vmware.com>
Wed, 16 Sep 2009 19:07:12 +0000 (13:07 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 16 Sep 2009 19:07:15 +0000 (13:07 -0600)
commit08d39251a79a964e4a3ac0d7d8a397c2b66a0808
treef0cf07718046db0098b8ef3e29e7640d1998553d
parentcfa1a0a609daefffc6f8c4087ed0bc34c2665ef4
st/mesa: fix some incorrect branching/clean-up code in TexImage functions

We need to be sure to call the _mesa_unmap_teximage_pbo() function if we
called _mesa_validate_pbo_teximage().
src/mesa/state_tracker/st_cb_texture.c