2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 21:11:21 +00:00

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

View File

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