projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72574b9
)
set PB->haveSpec in line functions that emit specular color
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 16 Jan 2002 18:22:19 +0000
(18:22 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 16 Jan 2002 18:22:19 +0000
(18:22 +0000)
src/mesa/swrast/s_lines.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_lines.c
b/src/mesa/swrast/s_lines.c
index ecdd748c1332336fbb749f8289271e0f0df703c1..4d9541fd02484a913a98227a356ae6e7cbd48a27 100644
(file)
--- a/
src/mesa/swrast/s_lines.c
+++ b/
src/mesa/swrast/s_lines.c
@@
-1,4
+1,4
@@
-/* $Id: s_lines.c,v 1.2
2 2001/11/06 16:01
:19 brianp Exp $ */
+/* $Id: s_lines.c,v 1.2
3 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 */