diff options
author | Grazvydas Ignotas <[email protected]> | 2018-01-14 21:31:55 +0200 |
---|---|---|
committer | Grazvydas Ignotas <[email protected]> | 2018-01-14 23:04:49 +0200 |
commit | 047c6fe2c59712aa4db909ff3b3653009cd693bf (patch) | |
tree | e5f417afb09a157753e0c8103baa67e460ab208b /src/gallium/drivers/r300 | |
parent | 6acf22a17991e3e98c35596f0b1cedfaebed6ec3 (diff) |
r300g: remove double assignment
Trivial. Found by Coccinelle.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_texture.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c index 0658205f879..6f8893eee6c 100644 --- a/src/gallium/drivers/r300/r300_texture.c +++ b/src/gallium/drivers/r300/r300_texture.c @@ -1235,7 +1235,6 @@ struct pipe_surface* r300_create_surface_custom(struct pipe_context * ctx, 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. */ surface->domain = tex->domain; |