diff options
author | Keith Whitwell <[email protected]> | 2009-08-21 18:44:27 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-08-21 18:44:56 +0100 |
commit | ecfa8be150ed276af816467b467e76e026f5b541 (patch) | |
tree | 9dedc683095fa0e18bc602e2d37a9777cc656872 /src/gallium/drivers/softpipe | |
parent | cf102b031e7ef33c8e3ffce2f9dcd064f44e8190 (diff) |
softpipe: add missing sp_sampler_varient_destroy
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_tex_sample.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 * |