1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-03-13 19:16:40 +00:00

Add missing mask.

This commit is contained in:
Thomas Harte
2026-01-27 17:39:29 -05:00
parent a8d95f65c5
commit c11d65295e

View File

@@ -127,7 +127,7 @@ lowp vec2 quadrature() {
lowp vec4 sample_composite() {
vec4 source = texture(source, coordinate);
int offset = int(floor(phase * 4.0));
int offset = int(floor(phase * 4.0)) & 3;
return vec4(
source[offset],
quadrature(),