mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
swrast: fix incorrect specular highlights on backfaces
See bug 28577 for details.
NOTE: this is a candidate for the 7.8 branch.
Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit 64e32ffb6e)
This commit is contained in:
parent
d06e0117e3
commit
74959ed201
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue