r300g: remove double assignment

Trivial. Found by Coccinelle.
This commit is contained in:
Grazvydas Ignotas 2018-01-14 21:31:55 +02:00
parent 6acf22a179
commit 047c6fe2c5

View file

@ -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. */