get fog going(for real)
authorAapo Tahkola <aet@rasterburn.org>
Tue, 11 Apr 2006 11:20:43 +0000 (11:20 +0000)
committerAapo Tahkola <aet@rasterburn.org>
Tue, 11 Apr 2006 11:20:43 +0000 (11:20 +0000)
src/mesa/drivers/dri/r300/r300_state.c

index 466b1cbe4fb363a43303f2e689b2617f6227a012..56052d64d263b2b49a174067f968958beb371cc4 100644 (file)
@@ -423,7 +423,6 @@ static void r300Enable(GLcontext* ctx, GLenum cap, GLboolean state)
                        r300->hw.fogs.cmd[R300_FOGS_STATE] |=
                            R300_FOG_ENABLE;
                        
-                       r300Enable(ctx, GL_FOG, ctx->Fog.Enabled);
                        ctx->Driver.Fogfv( ctx, GL_FOG_MODE, NULL );
                        ctx->Driver.Fogfv( ctx, GL_FOG_DENSITY, &ctx->Fog.Density );
                        ctx->Driver.Fogfv( ctx, GL_FOG_START, &ctx->Fog.Start );