oopsie
This commit is contained in:
parent
3bd0b7e88b
commit
7d10d6c480
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue