Fix GLES texdisplay fragment shader compile errors

This commit is contained in:
Jake Turner committed 2026-10-28 06:17:14 +00:00
1 parent 930452532b
commit 16a859d4f7
1 file changed
+4 -4
+4 -4
View File
@@ -244,19 +244,19 @@ void main(void)
if(ucol.x > range_min)
col.x = (float(ucol.x - range_min) * texdisplay.InverseRangeSize);
else
col.x = 0;
col.x = 0.0;
if(ucol.y > range_min)
col.y = (float(ucol.y - range_min) * texdisplay.InverseRangeSize);
else
col.y = 0;
col.y = 0.0;
if(ucol.z > range_min)
col.z = (float(ucol.z - range_min) * texdisplay.InverseRangeSize);
else
col.z = 0;
col.z = 0.0;
if(ucol.w > range_min)
col.w = (float(ucol.w - range_min) * texdisplay.InverseRangeSize);
else
col.w = 0;
col.w = 0.0;
}
else if(sintTex)
{