free/unreference pipe_surface in get_texel()

This commit is contained in:
Brian 2007-10-10 15:05:24 -06:00
parent 2b31b413f9
commit 8b68104b90

View file

@ -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 {
/*