mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-02 06:44:45 +00:00
remove a redundant assignment
This commit is contained in:
parent
9ba79f31a2
commit
9bd07d4c9c
@ -76,7 +76,6 @@ void Process(VertexData& vertex, bool hasColor)
|
||||
float _spot = Dot(-L,dir) / d / dir.Length();
|
||||
float cutoff = getFloat24(gstate.lcutoff[light]&0xFFFFFF);
|
||||
if (_spot > cutoff) {
|
||||
spot = _spot;
|
||||
float conv = getFloat24(gstate.lconv[light]&0xFFFFFF);
|
||||
spot = pow(_spot, conv);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user