fix: Crash when no plugins could be loaded

This commit is contained in:
WerWolv
2025-07-10 16:36:37 +02:00
parent 3c16adf169
commit 82c318f91d
2 changed files with 13 additions and 5 deletions

View File

@@ -347,9 +347,6 @@ namespace hex {
}
void Window::frameBegin() {
// Run all deferred calls
TaskManager::runDeferredCalls();
ImGui_ImplOpenGL3_NewFrame();
ImGui_ImplGlfw_NewFrame();
@@ -364,6 +361,8 @@ namespace hex {
ImGuiTestEngine_ShowTestEngineWindows(m_testEngine, nullptr);
#endif
// Run all deferred calls
TaskManager::runDeferredCalls();
TutorialManager::drawTutorial();