From: Maciej Cencora Date: Sat, 24 Jan 2009 13:58:17 +0000 (+0100) Subject: r300: Fix EXP2 fog X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ee71bad7b3c2bbae03a73488ddf477f4dc9b0cf;p=mesa.git r300: Fix EXP2 fog --- diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index d02034f039b..c192fecca49 100644 --- a/src/mesa/drivers/dri/r300/r300_state.c +++ b/src/mesa/drivers/dri/r300/r300_state.c @@ -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; }