From e8d2251909264b038acf593002b93c52f0fc7b38 Mon Sep 17 00:00:00 2001 From: David <> Date: Sat, 21 Dec 2024 17:53:32 -0600 Subject: [PATCH] modified: ScuffedMinecraft/src/Application.cpp --- ScuffedMinecraft/src/Application.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ScuffedMinecraft/src/Application.cpp b/ScuffedMinecraft/src/Application.cpp index eeec24a..78b9d45 100644 --- a/ScuffedMinecraft/src/Application.cpp +++ b/ScuffedMinecraft/src/Application.cpp @@ -518,11 +518,11 @@ int main(int argc, char *argv[]) Planet::planet->ClearChunkQueue(); ImGui::Checkbox("Use absolute Y axis for camera vertical movement", &camera.absoluteVerticalMovement); ImGui::End(); - - ImGui::Render(); - ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData()); } + ImGui::Render(); + ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData()); + // Check and call events and swap buffers glfwSwapBuffers(window); glfwPollEvents();