diff options
author | Brian Paul <[email protected]> | 2000-09-29 16:58:44 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-09-29 16:58:44 +0000 |
commit | e92dd16605dbad8dbf374ca40b8440ef4034a5d4 (patch) | |
tree | ef71a25c078cdd2c087abd23ca1cc2a25331accb /src/mesa/main/lines.c | |
parent | eb6c6439ae23e47b79b72f3737b6d0d14e1f9f26 (diff) |
generalized support for N texure units
Diffstat (limited to 'src/mesa/main/lines.c')
-rw-r--r-- | src/mesa/main/lines.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/mesa/main/lines.c b/src/mesa/main/lines.c index 191110e3f87..a8ae6a8b591 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" } |