projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6acf22a
)
r300g: remove double assignment
author
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 14 Jan 2018 19:31:55 +0000
(21:31 +0200)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 14 Jan 2018 21:04:49 +0000
(23:04 +0200)
Trivial. Found by Coccinelle.
src/gallium/drivers/r300/r300_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_texture.c
b/src/gallium/drivers/r300/r300_texture.c
index 0658205f87926a9dab2703349c5b2b837667db57..6f8893eee6c995567050b05bef5a68796e463798 100644
(file)
--- a/
src/gallium/drivers/r300/r300_texture.c
+++ b/
src/gallium/drivers/r300/r300_texture.c
@@
-1234,7
+1234,6
@@
struct pipe_surface* r300_create_surface_custom(struct pipe_context * ctx,
surface->base.u.tex.first_layer = surf_tmpl->u.tex.first_layer;
surface->base.u.tex.last_layer = surf_tmpl->u.tex.last_layer;
- surface->buf = tex->buf;
surface->buf = tex->buf;
/* Prefer VRAM if there are multiple domains to choose from. */