Fix graphics issue with old AMD cards.
Reviewed by: @vladislavbelov https://upload.jabberfr.org/hUkR3nTdfhbhHI92/0b5c64c3-136c-4744-a4ca-a70222a3cfaf.png This was SVN commit r24292.
This commit is contained in:
parent
f230988e0e
commit
d2075bed5d
@ -1387,9 +1387,6 @@ void CRenderer::RenderSubmissions(const CBoundingBoxAligned& waterScissor)
|
||||
ogl_WarnIfError();
|
||||
}
|
||||
|
||||
if (g_Renderer.GetPostprocManager().IsMultisampleEnabled())
|
||||
g_Renderer.GetPostprocManager().ResolveMultisampleFramebuffer();
|
||||
|
||||
// render debug-related terrain overlays
|
||||
ITerrainOverlay::RenderOverlaysAfterWater(cullGroup);
|
||||
ogl_WarnIfError();
|
||||
@ -1407,6 +1404,9 @@ void CRenderer::RenderSubmissions(const CBoundingBoxAligned& waterScissor)
|
||||
|
||||
if (g_RenderingOptions.GetPostProc())
|
||||
{
|
||||
if (g_Renderer.GetPostprocManager().IsMultisampleEnabled())
|
||||
g_Renderer.GetPostprocManager().ResolveMultisampleFramebuffer();
|
||||
|
||||
m->postprocManager.ApplyPostproc();
|
||||
m->postprocManager.ReleaseRenderOutput();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user