minor clean up

This commit is contained in:
Flyinghead 2024-02-29 16:26:49 +01:00
parent c9d3096e41
commit 19a240503d
1 changed files with 1 additions and 4 deletions

View File

@ -206,10 +206,7 @@ lowp vec4 palettePixel(highp vec3 coords)
#if TARGET_GL != GLES2 && TARGET_GL != GL2 && DIV_POS_Z != 1
coords.xy /= coords.z;
#endif
// if (any(lessThan(coords.xy, vec2(0.0))) || any(greaterThan(coords.xy, vec2(1.0))))
// return vec4(1.0, 0.0, 0.0, 1.0);
// else
return getPaletteEntry(texture(tex, coords.xy).FOG_CHANNEL);
return getPaletteEntry(texture(tex, coords.xy).FOG_CHANNEL);
}
#elif pp_Palette == 2 // Bi-linear filtering