Replaces GL_LINES, GL_QUADS, GL_TRIANGLE_STRIP and GL_TRIANGLE_FAN by GL_TRIANGLES.

This was SVN commit r26488.
This commit is contained in:
vladislavbelov
2022-02-26 00:37:27 +00:00
parent 59a0a74951
commit 23a023507a
11 changed files with 77 additions and 169 deletions
+4 -4
View File
@@ -922,12 +922,12 @@ void CSceneRenderer::RenderSubmissions(
DisplayFrustum();
if (g_RenderingOptions.GetDisplayShadowsFrustum())
{
m->shadow.RenderDebugBounds();
m->shadow.RenderDebugTexture(deviceCommandContext);
}
m->silhouetteRenderer.RenderDebugBounds(deviceCommandContext);
m->silhouetteRenderer.RenderDebugOverlays(deviceCommandContext, m_ViewCamera);
if (g_RenderingOptions.GetDisplayShadowsFrustum())
m->shadow.RenderDebugTexture(deviceCommandContext);
m->silhouetteRenderer.RenderDebugOverlays(deviceCommandContext);
// render overlays that should appear on top of all other objects
m->overlayRenderer.RenderForegroundOverlays(deviceCommandContext, m_ViewCamera);