From 5ee71bad7b3c2bbae03a73488ddf477f4dc9b0cf Mon Sep 17 00:00:00 2001 From: Maciej Cencora Date: Sat, 24 Jan 2009 14:58:17 +0100 Subject: [PATCH] r300: Fix EXP2 fog --- src/mesa/drivers/dri/r300/r300_state.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2