summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-04-04 16:53:59 +0000
committerBrian Paul <[email protected]>2002-04-04 16:53:59 +0000
commit09784e1e158c6b025342a44b3a2e8e1c336199e3 (patch)
tree79759777c9d1eb41f8688ab7d37f412b0fdf536d /src/mesa/swrast
parentd5c94ef40d9dfef9ad4ecaa56218150f903014e3 (diff)
use NULL lambda array for pixel texture
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_pixeltex.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/mesa/swrast/s_pixeltex.c b/src/mesa/swrast/s_pixeltex.c
index 82afab9ae93..fab67da69fb 100644
--- a/src/mesa/swrast/s_pixeltex.c
+++ b/src/mesa/swrast/s_pixeltex.c
@@ -1,4 +1,4 @@
-/* $Id: s_pixeltex.c,v 1.6 2002/01/28 04:25:56 brianp Exp $ */
+/* $Id: s_pixeltex.c,v 1.7 2002/04/04 16:53:59 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -105,10 +105,10 @@ _swrast_pixel_texture(GLcontext *ctx, struct sw_span *span)
(const GLchan (*)[4]) span->color.rgba,
span->texcoords[unit]);
_swrast_texture_fragments(ctx, unit, span->end,
- span->texcoords[unit],
- span->lambda[unit],
- (CONST GLchan (*)[4]) primary_rgba,
- span->color.rgba);
+ span->texcoords[unit],
+ NULL, /* lambda */
+ (CONST GLchan (*)[4]) primary_rgba,
+ span->color.rgba);
}
}
}
@@ -119,8 +119,9 @@ _swrast_pixel_texture(GLcontext *ctx, struct sw_span *span)
(const GLchan (*)[4]) span->color.rgba,
span->texcoords[0]);
_swrast_texture_fragments(ctx, 0, span->end,
- span->texcoords[0], span->lambda[0],
- (CONST GLchan (*)[4]) span->color.rgba,
- (GLchan (*)[4]) span->color.rgba);
+ span->texcoords[0],
+ NULL, /* lambda */
+ (CONST GLchan (*)[4]) span->color.rgba,
+ (GLchan (*)[4]) span->color.rgba);
}
}