From 7a6df6f0607e491eb24414564677c3b2d656e483 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 14 Oct 2022 00:55:34 +0200 Subject: [PATCH] fixed GF_NO_FOG --- shaders.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders.cpp b/shaders.cpp index 0ff264ad..88437ab4 100644 --- a/shaders.cpp +++ b/shaders.cpp @@ -403,7 +403,7 @@ shared_ptr write_shader(flagtype shader_flags) { vmain += "mediump vec4 t = uMV * aPosition;\n"; vmain += coordinator; if(shader_flags & GF_NO_FOG) { - vmain += "// no fog used"; + vmain += "// no fog used\n"; } else if(GDIM == 3 && WDIM == 2 && hyperbolic && context_fog && pmodel == mdPerspective) { vsh +=