clarify issue

This commit is contained in:
griffi-gh 2024-03-06 21:46:19 +01:00
parent fe093c5db2
commit 2c20da0b3b

View file

@ -10,6 +10,7 @@ uniform sampler2D tex;
void main() { void main() {
//HACK: if vtx_uv is (0, 0) then the texture is not used //HACK: if vtx_uv is (0, 0) then the texture is not used
//disabling this will cause blinking
if (vtx_uv.x == 0.0 && vtx_uv.y == 0.0) { if (vtx_uv.x == 0.0 && vtx_uv.y == 0.0) {
out_color = vtx_color; out_color = vtx_color;
return; return;