aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMaciej Cencora <[email protected]>2009-01-24 14:58:17 +0100
committerBrian Paul <[email protected]>2009-02-04 08:01:52 -0700
commit5ee71bad7b3c2bbae03a73488ddf477f4dc9b0cf (patch)
treece61013ebebe8f2ec976079519e0e3e8320a834c /src
parent8910da5b7a3b83d733f020dec906fe7b56c093c7 (diff)
r300: Fix EXP2 fog
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.c1
1 files changed, 1 insertions, 0 deletions
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;
}