diff options
author | Brian Paul <[email protected]> | 2000-12-13 17:35:43 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-12-13 17:35:43 +0000 |
commit | b0dbd3ed131c1097177d9091ad52b03374eda748 (patch) | |
tree | 698505b654486fa82fc635eb5bc6e3a16e96c3ea /src | |
parent | ac522d475638ec8bb53428353120f6a6a72d2ef5 (diff) |
replaced GLfixed with GLfloat in _mesa_fog_ci_pixels() (Klaus Niederkrueger)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/swrast/s_fog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_fog.c b/src/mesa/swrast/s_fog.c index dfdc1821f26..919d70e099d 100644 --- a/src/mesa/swrast/s_fog.c +++ b/src/mesa/swrast/s_fog.c @@ -1,4 +1,4 @@ -/* $Id: s_fog.c,v 1.3 2000/11/15 00:26:01 brianp Exp $ */ +/* $Id: s_fog.c,v 1.4 2000/12/13 17:35:43 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -80,7 +80,7 @@ _mesa_fog_ci_pixels( const GLcontext *ctx, GLuint i; for (i=0;i<n;i++) { - GLfixed f = FixedToFloat(CLAMP(fog[i], 0, FIXED_ONE)); + GLfloat f = FixedToFloat(CLAMP(fog[i], 0, FIXED_ONE)); index[i] = (GLuint) ((GLfloat) index[i] + (1.0F-f) * idx); } } |