mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-03 16:58:26 +00:00
FREESCAPE: make triangle shader more compatible with gles2 (again)
This commit is contained in:
parent
583b8b2a4b
commit
a8b267d421
@ -8,8 +8,8 @@ varying vec4 var_color;
|
||||
void main()
|
||||
{
|
||||
if (UBOOL_TEST(useStipple)) {
|
||||
vec2 coord = ivec2(gl_FragCoord.xy - 0.5);
|
||||
if (stipple[int(mod(coord.x, 8.) + mod(coord.y, 8.) * 8)] == 0)
|
||||
ivec2 coord = ivec2(gl_FragCoord.xy - 0.5);
|
||||
if (stipple[int(mod(float(coord.x), 8.) + mod(float(coord.y), 8.) * 8.)] == 0)
|
||||
discard;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user