Fixed gl_ssao_portals not having effect

This commit is contained in:
Magnus Norddahl 2016-10-22 21:25:29 +02:00
parent e891911a99
commit a3e19bf337

View file

@ -509,6 +509,7 @@ void FGLRenderer::DrawScene(int drawmode)
gl_RenderState.EnableDrawBuffers(gl_RenderState.GetPassDrawBufferCount());
gl_RenderState.Apply();
gl_RenderState.ApplyMatrices();
ssao_portals_available--;
}
// Handle all portals after rendering the opaque objects but before