Module: Mesa Branch: master Commit: 047c6fe2c59712aa4db909ff3b3653009cd693bf URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=047c6fe2c59712aa4db909ff3b3653009cd693bf
Author: Grazvydas Ignotas <nota...@gmail.com> Date: Sun Jan 14 21:31:55 2018 +0200 r300g: remove double assignment Trivial. Found by Coccinelle. --- src/gallium/drivers/r300/r300_texture.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c index 0658205f87..6f8893eee6 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; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit