mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 02:59:49 +01:00
Merge pull request #2848 from raven02/patch-12
Fix black box in Dainiji_Super_Robot_Taisen_Z_Hakaihen
This commit is contained in:
commit
b32d0977b6
1 file changed
+1
-1
@@ -205,7 +205,7 @@ void GenerateFragmentShader(char *buffer) {
|
||||
WRITE(p, "float roundTo255th(in float x) { float y = x + (0.49/255.0); return y - fract(y * 255.0) * (1.0 / 255.0); }\n");
|
||||
}
|
||||
if (enableColorTest) {
|
||||
WRITE(p, "vec3 roundTo255thv(in vec3 x) { vec3 y = x + (0.49/255.0); return y - fract(y * 255.0) * (1.0 / 255.0); }\n");
|
||||
WRITE(p, "vec3 roundTo255thv(in vec3 x) { vec3 y = x + (0.5/255.0); return y - fract(y * 255.0) * (1.0 / 255.0); }\n");
|
||||
}
|
||||
|
||||
WRITE(p, "void main() {\n");
|
||||
|
||||
Reference in new issue
Block a user