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_span.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/mesa/swrast/s_span.h') 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], -- cgit v1.2.3