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:
@@ -525,7 +525,6 @@ svga_texture_transfer_map(struct pipe_context *pipe,
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
SVGA3dSize baseLevelSize;
|
SVGA3dSize baseLevelSize;
|
||||||
struct svga_texture *tex = svga_texture(texture);
|
|
||||||
struct svga_winsys_surface *surf = tex->handle;
|
struct svga_winsys_surface *surf = tex->handle;
|
||||||
uint8_t *map;
|
uint8_t *map;
|
||||||
boolean retry;
|
boolean retry;
|
||||||
|
Reference in New Issue
Block a user