projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf102b0
)
softpipe: add missing sp_sampler_varient_destroy
author
Keith Whitwell
<keithw@vmware.com>
Fri, 21 Aug 2009 17:44:27 +0000
(18:44 +0100)
committer
Keith Whitwell
<keithw@vmware.com>
Fri, 21 Aug 2009 17:44:56 +0000
(18:44 +0100)
src/gallium/drivers/softpipe/sp_tex_sample.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_tex_sample.c
b/src/gallium/drivers/softpipe/sp_tex_sample.c
index 51118ae38bd5bc6e8ba73d90fab1b4d2b38a648b..a2e2a221e4b6e332ec2e2dbf0fda064a137b3750 100644
(file)
--- 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 *