mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 10:09:32 +01:00
GLES: Fix direct shader depal on GLES.
Was missing a cast and only worked on some desktop before.
This commit is contained in:
1 parent
8a154dab70
commit
cd98c4a266
1 file changed
+1
-1
@@ -359,7 +359,7 @@ bool GenerateFragmentShader(const FShaderID &id, char *buffer, uint64_t *uniform
|
||||
} else {
|
||||
WRITE(p, " vec2 uv = %s.xy;\n vec2 uv_round;\n", texcoord);
|
||||
}
|
||||
WRITE(p, " vec2 tsize = textureSize(tex, 0);\n");
|
||||
WRITE(p, " vec2 tsize = vec2(textureSize(tex, 0));\n");
|
||||
WRITE(p, " vec2 fraction;\n");
|
||||
WRITE(p, " bool bilinear = (u_depal >> 31) != 0;\n");
|
||||
WRITE(p, " if (bilinear) {\n");
|
||||
|
||||
Reference in new issue
Block a user