Stick texture LOD back on.
authorAapo Tahkola <aet@rasterburn.org>
Wed, 18 May 2005 08:43:30 +0000 (08:43 +0000)
committerAapo Tahkola <aet@rasterburn.org>
Wed, 18 May 2005 08:43:30 +0000 (08:43 +0000)
src/mesa/drivers/dri/r300/r300_state.c

index d611ec06e2a4a27ef765bf11e9f17fcb61a1a30c..ebff4fc23d9cc4a8003b2c7fc066b63bdf0d94ed 100644 (file)
@@ -1324,7 +1324,7 @@ void r300_setup_textures(GLcontext *ctx)
                        r300->hw.txe.cmd[R300_TXE_ENABLE]|=(1<<i);
                        
                        r300->hw.tex.filter.cmd[R300_TEX_VALUE_0+i]=gen_fixed_filter(t->filter) | (i << 28); 
-                       r300->hw.tex.unknown1.cmd[R300_TEX_VALUE_0+i]=0x0;
+                       //r300->hw.tex.unknown1.cmd[R300_TEX_VALUE_0+i]=0x0; /* move lod bias here? */
                        
                        /* No idea why linear filtered textures shake when puting random data */
                        /*r300->hw.tex.unknown1.cmd[R300_TEX_VALUE_0+i]=(rand()%0xffffffff) & (~0x1fff);*/