diff options
author | Brian <[email protected]> | 2007-10-10 15:05:24 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-10-10 15:05:24 -0600 |
commit | 8b68104b90b1d136b5f67a196c6cbdf9fe4dbfe1 (patch) | |
tree | cad756538900498d057be6ee8f87a95cff5ab5ab /src/mesa | |
parent | 2b31b413f97c73816a2845782aee9a49e22d2e0b (diff) |
free/unreference pipe_surface in get_texel()
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_tex_sample.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_tex_sample.c b/src/mesa/pipe/softpipe/sp_tex_sample.c index 0c990294f28..b89adf84805 100644 --- a/src/mesa/pipe/softpipe/sp_tex_sample.c +++ b/src/mesa/pipe/softpipe/sp_tex_sample.c @@ -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 { /* |