summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-08-25 15:17:05 -0600
committerBrian Paul <[email protected]>2016-08-26 14:20:19 -0600
commit10ef6ddcf97c1f7e42345b5d5b090f1db93a795d (patch)
tree9abfcccceca0dede084667ad4b1acfd224732cf7 /src/gallium/drivers/svga
parent09d2780b3979c23e2bddc9b2754d6e93009f4428 (diff)
svga: remove duplicated variable in svga_texture_transfer_map()
tex was already declared at the function body scope. Reviewed-by: Neha Bhende <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r--src/gallium/drivers/svga/svga_resource_texture.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_texture.c b/src/gallium/drivers/svga/svga_resource_texture.c
index 9104b0ac751..450ed2b80c7 100644
--- a/src/gallium/drivers/svga/svga_resource_texture.c
+++ b/src/gallium/drivers/svga/svga_resource_texture.c
@@ -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;