mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 04:20:24 +01:00
softpipe: need to set tc->transfer=NULL after destroying the transfer object
This fixes a number of crashes/regressions in programs such as lodbias.c, mipmap_limits.c, etc.
This commit is contained in:
parent
3151f5d75a
commit
71e3aa14fb
1 changed files with 1 additions and 0 deletions
|
|
@ -172,6 +172,7 @@ sp_tile_cache_set_surface(struct softpipe_tile_cache *tc,
|
|||
}
|
||||
|
||||
screen->tex_transfer_destroy(tc->transfer);
|
||||
tc->transfer = NULL;
|
||||
}
|
||||
|
||||
tc->surface = ps;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue