projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09d2780
)
svga: remove duplicated variable in svga_texture_transfer_map()
author
Brian Paul
<brianp@vmware.com>
Thu, 25 Aug 2016 21:17:05 +0000
(15:17 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 26 Aug 2016 20:20:19 +0000
(14:20 -0600)
tex was already declared at the function body scope.
Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/gallium/drivers/svga/svga_resource_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_resource_texture.c
b/src/gallium/drivers/svga/svga_resource_texture.c
index 9104b0ac751a9cb2d1ad1446d057c3deb85f30f5..450ed2b80c7991b763eaa4c9372f9fe71578322d 100644
(file)
--- 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;