mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-30 23:28:06 +02:00
etnaviv: remove double assigment of surface->texture
surf->base.texture is already assigned earlier via a proper pipe_resource_reference call. Remove the superfluous assignement. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7603>
This commit is contained in:
parent
3824429da0
commit
1c539bbb06
1 changed files with 0 additions and 1 deletions
|
|
@ -112,7 +112,6 @@ etna_create_surface(struct pipe_context *pctx, struct pipe_resource *prsc,
|
|||
etna_screen_resource_alloc_ts(pctx->screen, rsc);
|
||||
}
|
||||
|
||||
surf->base.texture = &rsc->base;
|
||||
surf->base.format = templat->format;
|
||||
surf->base.width = rsc->levels[level].width;
|
||||
surf->base.height = rsc->levels[level].height;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue