diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-08-28 03:04:41 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-08-28 03:04:41 +0000 |
commit | 781fb93877ea3a6faeefcdb48d9b463da7d954a3 (patch) | |
tree | c933acef1652c7af93315b5a74cd735793e68740 /src/mesa/main/texobj.c | |
parent | a6ed6f48e6bf4ca5427d921cac863cf3b42f7efc (diff) |
Added OpenGL 1.4's per-texture LOD bias.
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r-- | src/mesa/main/texobj.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index ff0a0535f1..6edb7e6565 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -114,6 +114,7 @@ _mesa_initialize_texture_object( struct gl_texture_object *obj, obj->MagFilter = GL_LINEAR; obj->MinLod = -1000.0; obj->MaxLod = 1000.0; + obj->LodBias = 0.0; obj->BaseLevel = 0; obj->MaxLevel = 1000; obj->MaxAnisotropy = 1.0; @@ -242,6 +243,7 @@ _mesa_copy_texture_object( struct gl_texture_object *dest, dest->MagFilter = src->MagFilter; dest->MinLod = src->MinLod; dest->MaxLod = src->MaxLod; + dest->LodBias = src->LodBias; dest->BaseLevel = src->BaseLevel; dest->MaxLevel = src->MaxLevel; dest->MaxAnisotropy = src->MaxAnisotropy; |