mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
free/unreference pipe_surface in get_texel()
This commit is contained in:
parent
2b31b413f9
commit
8b68104b90
1 changed files with 2 additions and 0 deletions
|
|
@ -594,6 +594,8 @@ get_texel(struct tgsi_sampler *sampler,
|
|||
ty * TEX_CACHE_TILE_SIZE,
|
||||
TEX_CACHE_TILE_SIZE, TEX_CACHE_TILE_SIZE,
|
||||
(float *) sampler->cache[entry].data);
|
||||
|
||||
pipe_surface_reference(&ps, NULL);
|
||||
}
|
||||
else {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue