This commit is contained in:
YeetElite 2024-12-21 18:40:49 -06:00 committed by GitHub
commit fd93b59bfe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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