Initialize ImGui with scaling

This commit is contained in:
Phillip Stephens 2022-02-20 13:08:21 -08:00
parent 49418f444f
commit 11b75ddda4
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ void app_run(std::unique_ptr<AppDelegate> app, Icon icon, int argc, char** argv)
} }
imgui::create_context(); imgui::create_context();
g_AppDelegate->onImGuiInit(1.f); // TODO scale g_AppDelegate->onImGuiInit(g_AppDpi);
imgui::initialize(g_Window); imgui::initialize(g_Window);
g_AppDelegate->onImGuiAddTextures(); g_AppDelegate->onImGuiAddTextures();