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();