update lod bias, limits
authorBrian <brian@i915.localnet.net>
Wed, 8 Aug 2007 22:47:51 +0000 (16:47 -0600)
committerBrian <brian@i915.localnet.net>
Wed, 8 Aug 2007 22:47:51 +0000 (16:47 -0600)
src/mesa/state_tracker/st_atom_sampler.c

index a49698cda46dda6081158068dc9e93f923a33519..066ce7860f3f19eed6ee0f64ca366f6033705905 100644 (file)
@@ -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 */
       }