mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
use pipe_surface_reference() in sp_tile_cache_set_surface()
This commit is contained in:
parent
c0b2714945
commit
a7be1c5ac2
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ void
|
|||
sp_tile_cache_set_surface(struct softpipe_tile_cache *tc,
|
||||
struct pipe_surface *ps)
|
||||
{
|
||||
tc->surface = ps;
|
||||
pipe_surface_reference(&tc->surface, ps);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue