From 535d6f7745d0b529a24e06b70baeae586a2208dd Mon Sep 17 00:00:00 2001 From: MarcEricMartel Date: Mon, 18 Dec 2023 15:26:44 -0500 Subject: [PATCH] Fair enough --- SQCSim2021/engine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/SQCSim2021/engine.cpp b/SQCSim2021/engine.cpp index d020eb9..7d3b0fb 100644 --- a/SQCSim2021/engine.cpp +++ b/SQCSim2021/engine.cpp @@ -1419,6 +1419,7 @@ void Engine::Render(float elapsedTime) { if (m_isSkybox) m_renderer.RenderWorld(&m_world, m_renderCount, m_player.GetPosition(), m_player.GetDirection(), all, m_shader01, m_textureAtlas); + glDisable(GL_BLEND); m_renderer.RenderWorld(&m_world, m_renderCount, m_player.GetPosition(), m_player.GetDirection(), all, m_shader01, m_textureAtlas); glEnable(GL_BLEND);