summaryrefslogtreecommitdiff
path: root/src/mesa/main/lines.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-09-29 16:58:44 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-09-29 16:58:44 +0000
commite92dd16605dbad8dbf374ca40b8440ef4034a5d4 (patch)
treeef71a25c078cdd2c087abd23ca1cc2a25331accb /src/mesa/main/lines.c
parenteb6c6439ae23e47b79b72f3737b6d0d14e1f9f26 (diff)
generalized support for N texure units
Diffstat (limited to 'src/mesa/main/lines.c')
-rw-r--r--src/mesa/main/lines.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/mesa/main/lines.c b/src/mesa/main/lines.c
index 191110e3f8..a8ae6a8b59 100644
--- a/src/mesa/main/lines.c
+++ b/src/mesa/main/lines.c
@@ -1,4 +1,4 @@
-/* $Id: lines.c,v 1.13 2000/09/26 20:53:53 brianp Exp $ */
+/* $Id: lines.c,v 1.14 2000/09/29 16:58:44 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -974,9 +974,16 @@ static void aa_multitex_rgba_line( GLcontext *ctx,
#define INTERP_STUV1 1
#define PLOT(x, y) \
{ \
+ GLfloat texcoord[MAX_TEXTURE_UNITS][4]; \
+ texcoord[0][0] = s; \
+ texcoord[0][1] = t; \
+ texcoord[0][2] = u; \
+ texcoord[1][0] = s1; \
+ texcoord[1][1] = t1; \
+ texcoord[1][2] = u1; \
PB_WRITE_MULTITEX_SPEC_PIXEL( pb, (x), (y), z, \
red, green, blue, coverage, specRed, specGreen, specBlue, \
- s, t, u, s1, t1, u1 ); \
+ texcoord ); \
}
#include "lnaatemp.h"
}