Skip to content

Commit

Permalink
remove semicolons from the end of GLSL functions; fixes macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
treellama committed Oct 3, 2023
1 parent f4a44bf commit fbbb2d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source_Files/RenderMain/Shaders/wall.frag
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ void main (void) {
vec4 color = texture2D(texture0, texCoords.xy);
float fogFactor = getFogFactor(length(viewDir));
gl_FragColor = vec4(mix(gl_Fog.color.rgb, color.rgb * intensity, fogFactor), vertexColor.a * color.a);
};
}

)"
2 changes: 1 addition & 1 deletion Source_Files/RenderMain/Shaders/wall.vert
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ void main(void) {
viewXY = -(gl_TextureMatrix[0] * vec4(viewDir.xyz, 1.0)).xyz;
viewDir = -viewDir;
vertexColor = gl_Color;
};
}

)"

0 comments on commit fbbb2d0

Please sign in to comment.