virgl: simplify virgl_texture_transfer_unmap logic
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 4 Apr 2019 14:50:18 +0000 (16:50 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 17 Apr 2019 07:27:08 +0000 (07:27 +0000)
commitb08e73308ec23399def414c6f6d5020496ffda9a
treec9746eeda1fb5d09c4b66183f0f412c0f41a0138
parent7dd601a39911d8c3d0b3592ce5a24a45857b9c3b
virgl: simplify virgl_texture_transfer_unmap logic

There's no reason to keep an extra indentation level here, let's merge
the two if-conditions.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/drivers/virgl/virgl_texture.c