Browse Source

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>
tags/13.0-branchpoint
Brian Paul 10 years ago
parent
commit
10ef6ddcf9
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      src/gallium/drivers/svga/svga_resource_texture.c

+ 0
- 1
src/gallium/drivers/svga/svga_resource_texture.c 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;

Loading…
Cancel
Save