Don't enable fog. It's broken
authorBen Skeggs <darktama@iinet.net.au>
Wed, 16 Feb 2005 06:24:07 +0000 (06:24 +0000)
committerBen Skeggs <darktama@iinet.net.au>
Wed, 16 Feb 2005 06:24:07 +0000 (06:24 +0000)
src/mesa/drivers/dri/r300/r300_maos.c

index 27cb4afa1c9e93244c95e55b4c41a8c3cc62c5f4..7d840f344f6d95e93899ccdec49af70fe4fed79f 100644 (file)
@@ -328,12 +328,14 @@ void r300EmitArrays(GLcontext * ctx, GLboolean immd)
                                                count);
        }
 
+#if 0
        if (inputs & _TNL_BIT_FOG) {
                CONFIGURE_AOS(  AOS_FORMAT_FLOAT,
                                                VB->FogCoordPtr,
                                                immd ? 4 : VB->FogCoordPtr->size,
                                                count);
        }
+#endif
 
        for (i = 0; i < ctx->Const.MaxTextureUnits; i++) {
                if (inputs & (_TNL_BIT_TEX0 << i)) {