mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-18 07:58:14 +00:00
Fix too dark issue in-game
This commit is contained in:
parent
e569582e14
commit
104dfcb6e4
@ -56,7 +56,7 @@ void ComputeFragmentShaderID(FragmentShaderID *id)
|
||||
id->d[0] |= ((gstate.texfunc & 0x100) >> 8) << 5; // rgb or rgba
|
||||
id->d[0] |= ((gstate.texfunc & 0x10000) >> 16) << 6; // color double
|
||||
}
|
||||
id->d[0] |= (lmode & 1) << 6;
|
||||
id->d[0] |= (lmode & 1) << 7;
|
||||
id->d[0] |= (gstate.alphaTestEnable & 1) << 8;
|
||||
if (gstate.alphaTestEnable & 1)
|
||||
id->d[0] |= (gstate.alphatest & 0x7) << 9; // alpha test func
|
||||
|
Loading…
x
Reference in New Issue
Block a user