summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-08 16:47:51 -0600
committerBrian <[email protected]>2007-08-08 16:47:51 -0600
commit562fdca12de5bbba491fafc7a26d86b23b5f7c93 (patch)
treebb9b412e622753d780c601a6566005e7166b4cd3 /src/mesa/state_tracker
parent5671bba1cb103c00b44905dfa015c3338cb4af56 (diff)
update lod bias, limits
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_atom_sampler.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_atom_sampler.c b/src/mesa/state_tracker/st_atom_sampler.c
index a49698cda46..066ce7860f3 100644
--- 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 */
}