- made the static portal state a struct inside the Renderer object

This commit is contained in:
Christoph Oelckers 2018-06-23 13:25:23 +02:00
commit 282fdac660
16 changed files with 420 additions and 430 deletions

View file

@ -173,7 +173,7 @@ void gl_SetFog(int lightlevel, int rellight, bool fullbright, const FColormap *c
}
// Make fog a little denser when inside a skybox
if (GLPortal::inskybox) fogdensity+=fogdensity/2;
if (GLRenderer->mPortalState.inskybox) fogdensity+=fogdensity/2;
// no fog in enhanced vision modes!