Fix implicit operand because GLSL is a goof or such

This commit is contained in:
James R 2020-01-23 17:22:02 -08:00
parent 770135451f
commit 968fea0383
1 changed files with 1 additions and 1 deletions

View File

@ -666,7 +666,7 @@ static INT32 shader_leveltime = 0;
GLSL_DOOM_COLORMAP \
GLSL_DOOM_LIGHT_EQUATION \
"void main(void) {\n" \
"float z = (gl_FragCoord.z / gl_FragCoord.w) / 2;\n" \
"float z = (gl_FragCoord.z / gl_FragCoord.w) / 2.0;\n" \
"float a = -pi * (z * freq) + (leveltime * speed);\n" \
"float sdistort = sin(a) * amp;\n" \
"float cdistort = cos(a) * amp;\n" \