Skip to content

Commit fbbb2d0

Browse files
committed
remove semicolons from the end of GLSL functions; fixes macOS
1 parent f4a44bf commit fbbb2d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Source_Files/RenderMain/Shaders/wall.frag

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ void main (void) {
4343
vec4 color = texture2D(texture0, texCoords.xy);
4444
float fogFactor = getFogFactor(length(viewDir));
4545
gl_FragColor = vec4(mix(gl_Fog.color.rgb, color.rgb * intensity, fogFactor), vertexColor.a * color.a);
46-
};
46+
}
4747

4848
)"

Source_Files/RenderMain/Shaders/wall.vert

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ void main(void) {
2525
viewXY = -(gl_TextureMatrix[0] * vec4(viewDir.xyz, 1.0)).xyz;
2626
viewDir = -viewDir;
2727
vertexColor = gl_Color;
28-
};
28+
}
2929

3030
)"

0 commit comments

Comments
 (0)