mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Use correct state for lmode
This commit is contained in:
1 parent
c9daf8df7b
commit
8cc3f01b7b
2 files changed
+3
-3
No files matched your search
@@ -583,7 +583,7 @@ void TransformDrawEngine::SoftwareTransformAndDraw(
|
||||
} else {
|
||||
// Summed color into c0
|
||||
for (int j = 0; j < 4; j++) {
|
||||
c0[j] = c0[j] + litColor1[j];
|
||||
c0[j] = ((c0[j] + litColor1[j]) > 1.0f) ? 1.0f : (c0[j] + litColor1[j]);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
+2
-2
@@ -101,7 +101,7 @@ struct GPUgstate
|
||||
offsetx,
|
||||
offsety,
|
||||
pad111[2],
|
||||
lmode,
|
||||
shademodel,
|
||||
reversenormals,
|
||||
pad222,
|
||||
materialupdate,
|
||||
@@ -114,7 +114,7 @@ struct GPUgstate
|
||||
materialspecularcoef,
|
||||
ambientcolor,
|
||||
ambientalpha,
|
||||
colormodel,
|
||||
lmode,
|
||||
ltype[4],
|
||||
lpos[12],
|
||||
ldir[12],
|
||||
|
||||
Reference in new issue
Block a user