Fix F1 on/off toggle for ImGui overlay (all platforms), clean up keycode handling (mostly macOS/iOS)

This commit is contained in:
Stephen Saunders 2022-08-01 16:11:57 -04:00
parent 5c2aaaf693
commit 1b3fe76cdb
7 changed files with 106 additions and 70 deletions

View file

@ -321,9 +321,7 @@ public:
vkCmdBindPipeline(secondaryCommandBuffers.ui, VK_PIPELINE_BIND_POINT_GRAPHICS, pipelines.starsphere);
if (settings.overlay) {
drawUI(secondaryCommandBuffers.ui);
}
drawUI(secondaryCommandBuffers.ui);
VK_CHECK_RESULT(vkEndCommandBuffer(secondaryCommandBuffers.ui));
}