fixed GF_NO_FOG

This commit is contained in:
Zeno Rogue 2022-10-14 00:55:34 +02:00
parent e6d0ff8789
commit 7a6df6f060
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ shared_ptr<glhr::GLprogram> 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 +=