From 1b3528fe635242f782fbcdde3ba74b5b7359a362 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 3 May 2001 22:13:32 +0000 Subject: interpolate fog valus as floats, not fixed - fixed the swrast fog problem --- src/mesa/swrast/s_linetemp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/swrast/s_linetemp.h') diff --git a/src/mesa/swrast/s_linetemp.h b/src/mesa/swrast/s_linetemp.h index 5792b46a4a..f8fa310d76 100644 --- a/src/mesa/swrast/s_linetemp.h +++ b/src/mesa/swrast/s_linetemp.h @@ -1,4 +1,4 @@ -/* $Id: s_linetemp.h,v 1.7 2001/03/12 00:48:42 gareth Exp $ */ +/* $Id: s_linetemp.h,v 1.8 2001/05/03 22:13:32 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -95,8 +95,8 @@ # endif #endif #ifdef INTERP_FOG - GLfixed fog0 = FloatToFixed(vert0->fog); - GLfixed dfog = FloatToFixed(vert1->fog) - fog0; + GLfloat fog0 = vert0->fog; + GLfloat dfog = vert1->fog - fog0; #endif #ifdef INTERP_RGB GLfixed r0 = IntToFixed(vert0->color[0]); -- cgit v1.2.3