softpipe: add missing sp_sampler_varient_destroy
authorKeith Whitwell <keithw@vmware.com>
Fri, 21 Aug 2009 17:44:27 +0000 (18:44 +0100)
committerKeith Whitwell <keithw@vmware.com>
Fri, 21 Aug 2009 17:44:56 +0000 (18:44 +0100)
src/gallium/drivers/softpipe/sp_tex_sample.c

index 51118ae38bd5bc6e8ba73d90fab1b4d2b38a648b..a2e2a221e4b6e332ec2e2dbf0fda064a137b3750 100644 (file)
@@ -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 *