Mesa (master): swrast: remove unused parameter
Brian Paul
brianp at kemper.freedesktop.org
Thu Apr 2 02:25:45 UTC 2009
Module: Mesa
Branch: master
Commit: 0d8d90482331b219b861e500a0bc830133b1b377
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d8d90482331b219b861e500a0bc830133b1b377
Author: Brian Paul <brianp at vmware.com>
Date: Mon Mar 9 21:24:48 2009 -0600
swrast: remove unused parameter
---
src/mesa/swrast/s_texcombine.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/src/mesa/swrast/s_texcombine.c b/src/mesa/swrast/s_texcombine.c
index 550c99b..3b7bbfe 100644
--- a/src/mesa/swrast/s_texcombine.c
+++ b/src/mesa/swrast/s_texcombine.c
@@ -572,7 +572,6 @@ swizzle_texels(GLuint swizzle, GLuint count, float4_array texels)
* Input: textureUnit - pointer to texture unit to apply
* format - base internal texture format
* n - number of fragments
- * primary_rgba - primary colors (may alias rgba for single texture)
* texels - array of texel colors
* InOut: rgba - incoming fragment colors modified by texel colors
* according to the texture environment mode.
@@ -581,7 +580,6 @@ static void
texture_apply( const GLcontext *ctx,
const struct gl_texture_unit *texUnit,
GLuint n,
- float4_array primary_rgba,
float4_array texel,
GLchan rgbaChan[][4] )
{
@@ -591,8 +589,6 @@ texture_apply( const GLcontext *ctx,
GLenum format;
GLfloat rgba[MAX_WIDTH][4];
- (void) primary_rgba;
-
ASSERT(texUnit);
ASSERT(texUnit->_Current);
@@ -1123,8 +1119,7 @@ _swrast_texture_span( GLcontext *ctx, SWspan *span )
float4_array texels =
get_texel_array(swrast->TexelBuffer, unit, span->end);
texture_apply( ctx, texUnit, span->end,
- primary_rgba, texels,
- span->array->rgba );
+ texels, span->array->rgba );
}
}
}
More information about the mesa-commit
mailing list