Index: radeon_state.c =================================================================== RCS file: /cvs/mesa/Mesa/src/mesa/drivers/dri/radeon/radeon_state.c,v retrieving revision 1.39 diff -u -r1.39 radeon_state.c --- radeon_state.c 17 Oct 2005 00:54:12 -0000 1.39 +++ radeon_state.c 27 Oct 2005 07:45:11 -0000 @@ -361,7 +361,7 @@ switch (ctx->Fog.Mode) { case GL_EXP: c.f = 0.0; - d.f = ctx->Fog.Density; + d.f = -ctx->Fog.Density; break; case GL_EXP2: c.f = 0.0; @@ -373,7 +373,7 @@ d.f = 1.0F; } else { c.f = ctx->Fog.End/(ctx->Fog.End-ctx->Fog.Start); - d.f = 1.0/(ctx->Fog.End-ctx->Fog.Start); + d.f = -1.0/(ctx->Fog.End-ctx->Fog.Start); } break; default: