From: Aapo Tahkola Date: Tue, 11 Apr 2006 11:20:43 +0000 (+0000) Subject: get fog going(for real) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d90ad3fd876860b7a2ba763c031e46f76e4c47c6;p=mesa.git get fog going(for real) --- diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index 466b1cbe4fb..56052d64d26 100644 --- a/src/mesa/drivers/dri/r300/r300_state.c +++ b/src/mesa/drivers/dri/r300/r300_state.c @@ -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 );