mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-19 03:34:49 +00:00
fixed GF_NO_FOG
This commit is contained in:
parent
e6d0ff8789
commit
7a6df6f060
@ -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 +=
|
||||
|
Loading…
Reference in New Issue
Block a user