diff options
author | Brian Paul <[email protected]> | 2002-01-16 18:22:19 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-01-16 18:22:19 +0000 |
commit | 028fe46fc5c48b6481be2850c0cfa8c929b45728 (patch) | |
tree | 4250f43154aac7c56c02e0abcb2167d1d8a97a60 /src/mesa/swrast/s_lines.c | |
parent | 72574b959c39981033069e367a12c5ae595dd93a (diff) |
set PB->haveSpec in line functions that emit specular color
Diffstat (limited to 'src/mesa/swrast/s_lines.c')
-rw-r--r-- | src/mesa/swrast/s_lines.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_lines.c b/src/mesa/swrast/s_lines.c index ecdd748c133..4d9541fd024 100644 --- a/src/mesa/swrast/s_lines.c +++ b/src/mesa/swrast/s_lines.c @@ -1,4 +1,4 @@ -/* $Id: s_lines.c,v 1.22 2001/11/06 16:01:19 brianp Exp $ */ +/* $Id: s_lines.c,v 1.23 2002/01/16 18:22:19 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -759,6 +759,7 @@ static void smooth_multitextured_line( GLcontext *ctx, GLchan (*pbspec)[3] = PB->spec; PB->mono = GL_FALSE; + PB->haveSpec = GL_TRUE; if (ctx->Line.StippleFlag) { /* stippled */ @@ -860,6 +861,7 @@ static void flat_multitextured_line( GLcontext *ctx, GLchan sBlue = vert1->specular[2]; PB->mono = GL_FALSE; + PB->haveSpec = GL_TRUE; if (ctx->Line.StippleFlag) { /* stippled */ |