mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
gallium: set tc->surface_map = NULL after unmapping
This commit is contained in:
parent
e08501b457
commit
4b39ba7216
1 changed files with 1 additions and 0 deletions
|
|
@ -156,6 +156,7 @@ sp_tile_cache_set_surface(struct softpipe_tile_cache *tc,
|
|||
if (tc->surface_map) {
|
||||
/*assert(tc->surface != ps);*/
|
||||
pipe_surface_unmap(tc->surface);
|
||||
tc->surface_map = NULL;
|
||||
}
|
||||
|
||||
pipe_surface_reference(&tc->surface, ps);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue