mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-03-02 06:42:03 +00:00
Fixed gl_ssao_portals not having effect
This commit is contained in:
parent
e891911a99
commit
a3e19bf337
1 changed files with 1 additions and 0 deletions
|
@ -509,6 +509,7 @@ void FGLRenderer::DrawScene(int drawmode)
|
||||||
gl_RenderState.EnableDrawBuffers(gl_RenderState.GetPassDrawBufferCount());
|
gl_RenderState.EnableDrawBuffers(gl_RenderState.GetPassDrawBufferCount());
|
||||||
gl_RenderState.Apply();
|
gl_RenderState.Apply();
|
||||||
gl_RenderState.ApplyMatrices();
|
gl_RenderState.ApplyMatrices();
|
||||||
|
ssao_portals_available--;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle all portals after rendering the opaque objects but before
|
// Handle all portals after rendering the opaque objects but before
|
||||||
|
|
Loading…
Reference in a new issue