From e92dd16605dbad8dbf374ca40b8440ef4034a5d4 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 29 Sep 2000 16:58:44 +0000 Subject: generalized support for N texure units --- src/mesa/main/lines.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/lines.c') 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" } -- cgit v1.2.3