diff options
author | Brian Paul <[email protected]> | 2001-05-03 22:13:32 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-05-03 22:13:32 +0000 |
commit | 1b3528fe635242f782fbcdde3ba74b5b7359a362 (patch) | |
tree | 180b475fc343edcb7fa18d5ff106bd9ce4f7d231 /src/mesa/swrast/s_fog.h | |
parent | 652a14a2153baf011a9347c6a8820e15ebf9aa2d (diff) |
interpolate fog valus as floats, not fixed - fixed the swrast fog problem
Diffstat (limited to 'src/mesa/swrast/s_fog.h')
-rw-r--r-- | src/mesa/swrast/s_fog.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/mesa/swrast/s_fog.h b/src/mesa/swrast/s_fog.h index 9c487e13d11..88f9964cb5b 100644 --- a/src/mesa/swrast/s_fog.h +++ b/src/mesa/swrast/s_fog.h @@ -1,4 +1,4 @@ -/* $Id: s_fog.h,v 1.3 2001/03/12 00:48:42 gareth Exp $ */ +/* $Id: s_fog.h,v 1.4 2001/05/03 22:13:32 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -33,22 +33,20 @@ #include "swrast.h" - - extern void _mesa_fog_rgba_pixels( const GLcontext *ctx, - GLuint n, const GLfixed fog[], + GLuint n, const GLfloat fog[], GLchan rgba[][4] ); extern void _mesa_fog_ci_pixels( const GLcontext *ctx, - GLuint n, const GLfixed fog[], GLuint indx[] ); + GLuint n, const GLfloat fog[], GLuint indx[] ); extern void _mesa_win_fog_coords_from_z( const GLcontext *ctx, GLuint n, const GLdepth z[], - GLfixed fogcoord[] ); + GLfloat fogcoord[] ); extern void _mesa_depth_fog_rgba_pixels( const GLcontext *ctx, @@ -59,5 +57,4 @@ _mesa_depth_fog_ci_pixels( const GLcontext *ctx, GLuint n, const GLdepth z[], GLuint index[] ); - #endif |