fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots of poten...
[mesa.git] / src / mesa / swrast / s_tritemp.h
index 254907dea5b99993a28c6a8a95deff0fcfd36383..254f0fd2d20702b0657ede4fe0ded98040e53aca 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: s_tritemp.h,v 1.11 2001/03/03 00:37:27 brianp Exp $ */
+/* $Id: s_tritemp.h,v 1.12 2001/03/07 05:06:12 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
 #  endif
                }
               {
-                 ffog = FloatToFixed(vLower->fog) * 256 + dfogdx * adjx + dfogdy * adjy + FIXED_HALF;
+                 ffog = FloatToFixed(vLower->fog * 256 + dfogdx * adjx + dfogdy * adjy) + FIXED_HALF;
                  fdfogOuter = SignedFloatToFixed(dfogdy + dxOuter * dfogdx);
               }
 #endif