clarify issue

This commit is contained in:
griffi-gh 2024-03-06 21:46:19 +01:00
parent 42d3b52272
commit 36de134032

View file

@ -10,6 +10,7 @@ uniform sampler2D tex;
void main() {
//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) {
out_color = vtx_color;
return;