projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b875c02
)
swrast: fix incorrect specular highlights on backfaces
author
Tim Evans
<t.evans@aranz.com>
Mon, 21 Jun 2010 23:18:30 +0000
(17:18 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 21 Jun 2010 23:19:59 +0000
(17:19 -0600)
See bug 28577 for details.
NOTE: this is a candidate for the 7.8 branch.
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast_setup/ss_triangle.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast_setup/ss_triangle.c
b/src/mesa/swrast_setup/ss_triangle.c
index bad0d819460168d56fecb9421ee321aaafe73464..f22bc52f0a800d84ff3d03e7f004717021f99a93 100644
(file)
--- a/
src/mesa/swrast_setup/ss_triangle.c
+++ b/
src/mesa/swrast_setup/ss_triangle.c
@@
-159,7
+159,7
@@
static void _swsetup_render_tri(GLcontext *ctx,
}
#define SS_COLOR(a,b) UNCLAMPED_FLOAT_TO_RGBA_CHAN(a,b)
-#define SS_SPEC(a,b)
UNCLAMPED_FLOAT_TO_RGB_CHAN
(a,b)
+#define SS_SPEC(a,b)
COPY_4V
(a,b)
#define SS_IND(a,b) (a = b)
#define IND (0)