svga: remove duplicated variable in svga_texture_transfer_map()

tex was already declared at the function body scope.

Reviewed-by: Neha Bhende <bhenden@vmware.com>
This commit is contained in:
Brian Paul
2016-08-25 15:17:05 -06:00
parent 09d2780b39
commit 10ef6ddcf9

View File

@@ -525,7 +525,6 @@ svga_texture_transfer_map(struct pipe_context *pipe,
}
else {
SVGA3dSize baseLevelSize;
struct svga_texture *tex = svga_texture(texture);
struct svga_winsys_surface *surf = tex->handle;
uint8_t *map;
boolean retry;