r300: Fix EXP2 fog
authorMaciej Cencora <m.cencora@gmail.com>
Sat, 24 Jan 2009 13:58:17 +0000 (14:58 +0100)
committerBrian Paul <brianp@vmware.com>
Wed, 4 Feb 2009 15:01:52 +0000 (08:01 -0700)
src/mesa/drivers/dri/r300/r300_state.c

index d02034f039b93882c4880882a9dfe9709dda317c..c192fecca498651b5644a7e84ea2bd2ad41d05c9 100644 (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;
                }