From: Brian Date: Wed, 8 Aug 2007 22:47:51 +0000 (-0600) Subject: update lod bias, limits X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=562fdca12de5bbba491fafc7a26d86b23b5f7c93;p=mesa.git update lod bias, limits --- 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 */ }