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 466b1cb..56052d6 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 );