mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix missing character in FF Type-0 in SW T&L
This commit is contained in:
parent
dfbb7debca
commit
6b27985796
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue