diff options
author | Daniel Borca <[email protected]> | 2003-12-15 10:38:12 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2003-12-15 10:38:12 +0000 |
commit | f80220d05015c851879f4b347021f98c1690f93b (patch) | |
tree | e081cc5069853ce2ace3c9cec8863a0888ccffcb /src/mesa/drivers/glide/fxddtex.c | |
parent | 7aa77b679d0d273b941029bb2c912f87f94d055b (diff) |
EXT_secondary_color and EXT_separate_specular via multipass
Diffstat (limited to 'src/mesa/drivers/glide/fxddtex.c')
-rw-r--r-- | src/mesa/drivers/glide/fxddtex.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/glide/fxddtex.c b/src/mesa/drivers/glide/fxddtex.c index 3ad0f22ce04..073a36d8c66 100644 --- a/src/mesa/drivers/glide/fxddtex.c +++ b/src/mesa/drivers/glide/fxddtex.c @@ -219,6 +219,11 @@ fxDDTexParam(GLcontext * ctx, GLenum target, struct gl_texture_object *tObj, ti->LODblend = FXFALSE; break; case GL_NEAREST_MIPMAP_LINEAR: + /* ZZZ: HACK ALERT! disable LODBlend, because we can't implement + on Napalm. Ohwell, until at least I decide what to do... + trilinear is bugged! mipmap blending produce + incorrect filtered colors for the smallest mipmap levels. */ +#if 0 if (fxMesa->haveTwoTMUs) { ti->mmMode = GR_MIPMAP_NEAREST; ti->LODblend = FXTRUE; @@ -229,6 +234,7 @@ fxDDTexParam(GLcontext * ctx, GLenum target, struct gl_texture_object *tObj, } ti->minFilt = GR_TEXTUREFILTER_POINT_SAMPLED; break; /* ZZZ: we may have to fall through here for V3 */ +#endif case GL_NEAREST_MIPMAP_NEAREST: ti->mmMode = GR_MIPMAP_NEAREST; ti->minFilt = GR_TEXTUREFILTER_POINT_SAMPLED; |