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_span.h | |
parent | 652a14a2153baf011a9347c6a8820e15ebf9aa2d (diff) |
interpolate fog valus as floats, not fixed - fixed the swrast fog problem
Diffstat (limited to 'src/mesa/swrast/s_span.h')
-rw-r--r-- | src/mesa/swrast/s_span.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/swrast/s_span.h b/src/mesa/swrast/s_span.h index aa7e3b3664b..b1bb847bf67 100644 --- a/src/mesa/swrast/s_span.h +++ b/src/mesa/swrast/s_span.h @@ -1,4 +1,4 @@ -/* $Id: s_span.h,v 1.4 2001/03/12 00:48:42 gareth Exp $ */ +/* $Id: s_span.h,v 1.5 2001/05/03 22:13:32 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -38,27 +38,27 @@ extern void _mesa_write_index_span( GLcontext *ctx, GLuint n, GLint x, GLint y, const GLdepth z[], - const GLfixed fog[], + const GLfloat fog[], GLuint index[], GLenum primitive ); extern void _mesa_write_monoindex_span( GLcontext *ctx, GLuint n, GLint x, GLint y, const GLdepth z[], - const GLfixed fog[], + const GLfloat fog[], GLuint index, GLenum primitive ); extern void _mesa_write_rgba_span( GLcontext *ctx, GLuint n, GLint x, GLint y, const GLdepth z[], - const GLfixed fog[], + const GLfloat fog[], GLchan rgba[][4], GLenum primitive ); extern void _mesa_write_monocolor_span( GLcontext *ctx, GLuint n, GLint x, GLint y, const GLdepth z[], - const GLfixed fog[], + const GLfloat fog[], const GLchan color[4], GLenum primitive ); @@ -66,7 +66,7 @@ extern void _mesa_write_monocolor_span( GLcontext *ctx, extern void _mesa_write_texture_span( GLcontext *ctx, GLuint n, GLint x, GLint y, const GLdepth z[], - const GLfixed fog[], + const GLfloat fog[], const GLfloat s[], const GLfloat t[], const GLfloat u[], GLfloat lambda[], GLchan rgba[][4], CONST GLchan spec[][4], @@ -77,7 +77,7 @@ extern void _mesa_write_multitexture_span( GLcontext *ctx, GLuint n, GLint x, GLint y, const GLdepth z[], - const GLfixed fog[], + const GLfloat fog[], CONST GLfloat s[MAX_TEXTURE_UNITS][MAX_WIDTH], CONST GLfloat t[MAX_TEXTURE_UNITS][MAX_WIDTH], CONST GLfloat u[MAX_TEXTURE_UNITS][MAX_WIDTH], |