aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorAapo Tahkola <[email protected]>2006-04-11 11:20:43 +0000
committerAapo Tahkola <[email protected]>2006-04-11 11:20:43 +0000
commitd90ad3fd876860b7a2ba763c031e46f76e4c47c6 (patch)
treec8165c7bde5f4fd05e668dc9941a9ee7bff7aea4 /src/mesa
parent3ed16bd9cce8809bde1a1afdaecb0e78825182a5 (diff)
get fog going(for real)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.c1
1 files changed, 0 insertions, 1 deletions
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 );