diff options
author | Brian <[email protected]> | 2007-05-23 16:49:19 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-05-23 16:49:19 -0600 |
commit | 8b99d9e33cae27404d4a5d8626b8581d35aef28d (patch) | |
tree | 7a397ce3a6b15874ea30b70de293f56fa2f3ae33 /src/mesa | |
parent | 01e7e153e37f450c44fe755bd44b02ce0cecf873 (diff) |
restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/attrib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index e2cfb8a1f66..0b821cff44d 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -764,6 +764,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); |