Skip to content

Commit f60d1b8

Browse files
Antoine Fontainenecessarily-equal
authored andcommitted
Fix broken shader that prevents game start
1 parent 355b044 commit f60d1b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/renderer/glsl_source/generic_fp.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void main()
8383
outputColor = color;
8484

8585
// Debugging.
86-
if defined(USE_MATERIAL_SYSTEM) && defined(r_showGlobalMaterials)
86+
#if defined(USE_MATERIAL_SYSTEM) && defined(r_showGlobalMaterials)
8787
outputColor.rgb = u_MaterialColour;
8888
#endif
8989
}

0 commit comments

Comments
 (0)