r300: Fix EXP2 fog

This commit is contained in:
Maciej Cencora 2009-01-24 14:58:17 +01:00 committed by Brian Paul
parent 8910da5b7a
commit 5ee71bad7b

View file

@ -783,6 +783,7 @@ static void r300Fogfv(GLcontext * ctx, GLenum pname, const GLfloat * param)
R300_FG_FOG_BLEND_FN_EXP2;
fogScale.f = 0.3 * ctx->Fog.Density;
fogStart.f = 0.0;
break;
default:
return;
}