mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
freedreno/query: fix refcnt'ing issue
Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
parent
0e91dccf9c
commit
87eb406791
1 changed files with 1 additions and 1 deletions
|
|
@ -330,7 +330,7 @@ prepare_sample(struct fd_hw_sample *samp, struct fd_bo *bo,
|
|||
assert(samp->tile_stride == tile_stride);
|
||||
return;
|
||||
}
|
||||
samp->bo = bo;
|
||||
samp->bo = fd_bo_ref(bo);
|
||||
samp->num_tiles = num_tiles;
|
||||
samp->tile_stride = tile_stride;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue