From: Keith Whitwell Date: Fri, 21 Aug 2009 17:44:27 +0000 (+0100) Subject: softpipe: add missing sp_sampler_varient_destroy X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ecfa8be150ed276af816467b467e76e026f5b541;p=mesa.git softpipe: add missing sp_sampler_varient_destroy --- diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c index 51118ae38bd..a2e2a221e4b 100644 --- a/src/gallium/drivers/softpipe/sp_tex_sample.c +++ b/src/gallium/drivers/softpipe/sp_tex_sample.c @@ -1558,6 +1558,14 @@ sp_sampler_varient_bind_texture( struct sp_sampler_varient *samp, samp->level = CLAMP((int) sampler->min_lod, 0, (int) texture->last_level); } + +void +sp_sampler_varient_destroy( struct sp_sampler_varient *samp ) +{ + FREE(samp); +} + + /* Create a sampler varient for a given set of non-orthogonal state. Currently the */ struct sp_sampler_varient *