svga: minor code simplification in svga_texture_transfer_unmap()
authorBrian Paul <brianp@vmware.com>
Thu, 25 Aug 2016 22:15:23 +0000 (16:15 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Aug 2016 20:20:19 +0000 (14:20 -0600)
commitc6e89fa2153fcd32dd606fee3c5c812e12daa694
treeb7c00f1276bca16c3883e4dc85e2e35dea766ba8
parentfe5a2704ecd447068c6b75bf78f12630219d3117
svga: minor code simplification in svga_texture_transfer_unmap()

Use the tex variable instead of using svga_texture() again.

Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/gallium/drivers/svga/svga_resource_texture.c