From 7d10d6c48022fa69208dc4029fb8d993cefc400a Mon Sep 17 00:00:00 2001 From: Mars Date: Tue, 19 Nov 2024 19:36:08 -0500 Subject: [PATCH] oopsie --- src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index a7e868c..7792b9a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -375,9 +375,9 @@ class VulkanApp { updateFrameStats(lastFpsUpdate, frameCounter); vkfw::pollEvents(); - mImGuiManager.newFrame(); + ImGuiManager::newFrame(); bool needsPipelineRecreation = false; - mImGuiManager.renderControls( + ImGuiManager::renderControls( mCameraSpeed, mFieldOfView, mWireframeMode, @@ -388,12 +388,12 @@ class VulkanApp { mLightSettings, needsPipelineRecreation ); - mImGuiManager.renderMemoryUsage(sizeof(Vertex), sizeof(uint32_t), mVertices.size(), mIndices.size()); + ImGuiManager::renderMemoryUsage(sizeof(Vertex), sizeof(uint32_t), mVertices.size(), mIndices.size()); if (needsPipelineRecreation) { mDevice->waitIdle(); createGraphicsPipeline(); } - mImGuiManager.render(); + ImGuiManager::render(); drawFrame(); }