From: Brian Date: Wed, 23 May 2007 22:49:32 +0000 (-0600) Subject: restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f116aed1ede0d802e9f3c5989290002975c00330;p=mesa.git restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049 --- diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index 0ee3418fddb..1aa0a02fc78 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -782,6 +782,7 @@ pop_texture_group(GLcontext *ctx, const struct gl_texture_attrib *texAttrib) _mesa_TexParameteri(target, GL_TEXTURE_MAG_FILTER, obj->MagFilter); _mesa_TexParameterf(target, GL_TEXTURE_MIN_LOD, obj->MinLod); _mesa_TexParameterf(target, GL_TEXTURE_MAX_LOD, obj->MaxLod); + _mesa_TexParameterf(target, GL_TEXTURE_LOD_BIAS, obj->LodBias); _mesa_TexParameteri(target, GL_TEXTURE_BASE_LEVEL, obj->BaseLevel); if (target != GL_TEXTURE_RECTANGLE_ARB) _mesa_TexParameteri(target, GL_TEXTURE_MAX_LEVEL, obj->MaxLevel);