projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5671bba
)
update lod bias, limits
author
Brian
<brian@i915.localnet.net>
Wed, 8 Aug 2007 22:47:51 +0000
(16:47 -0600)
committer
Brian
<brian@i915.localnet.net>
Wed, 8 Aug 2007 22:47:51 +0000
(16:47 -0600)
src/mesa/state_tracker/st_atom_sampler.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_atom_sampler.c
b/src/mesa/state_tracker/st_atom_sampler.c
index a49698cda46dda6081158068dc9e93f923a33519..066ce7860f3f19eed6ee0f64ca366f6033705905 100644
(file)
--- a/
src/mesa/state_tracker/st_atom_sampler.c
+++ b/
src/mesa/state_tracker/st_atom_sampler.c
@@
-111,6
+111,10
@@
update_samplers(struct st_context *st)
sampler.min_filter = gl_filter_to_sp(texobj->MinFilter);
sampler.mag_filter = gl_filter_to_sp(texobj->MagFilter);
+ sampler.lod_bias = st->ctx->Texture.Unit[u].LodBias;
+ sampler.min_lod = texobj->MinLod;
+ sampler.max_lod = texobj->MaxLod;
+
/* XXX more sampler state here */
}