mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-10 10:30:35 +00:00
Merge pull request #697 from raven02/patch-1
Fix missing character in FF Type-0 in SW T&L
This commit is contained in:
commit
a9fc0c92b3
@ -283,7 +283,7 @@ void Lighter::Light(float colorOut0[4], float colorOut1[4], const float colorIn[
|
||||
bool doSpecular = (comp != GE_LIGHTCOMP_ONLYDIFFUSE);
|
||||
bool poweredDiffuse = comp == GE_LIGHTCOMP_BOTHWITHPOWDIFFUSE;
|
||||
|
||||
float dot = toLight.Normalized() * norm;
|
||||
float dot = toLight * norm;
|
||||
|
||||
// Clamp dot to zero.
|
||||
if (dot < 0.0f) dot = 0.0f;
|
||||
|
Loading…
Reference in New Issue
Block a user