fix: reserved keyword char

This commit is contained in:
2026-11-05 22:53:54 +01:00
parent dcd35af4f1
commit 01cba36eaa
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ subroutine(src_stage_sub) vec4 src_7(vec2 vUV, int seed, vec3 b1, vec2 f1, vec3
ivec2 uv2i = ivec2(uv2);
int code = ((charset_ctrl.y < 1. || (uv2i.x % 2 ^ uv2i.y % 2) > 0) ? 1 : 0) * (start_char + int((rand(uv2i) + char_delta) * char_span) % char_span);
uv2 = mod(uv2, 1.);
float f = char(uv2, code) ? 1. : 0.;
float f = chr(uv2, code) ? 1. : 0.;
return vec4(f);
}