mirror of https://github.com/AxioDL/metaforce.git
Initialize ImGui with scaling
This commit is contained in:
parent
49418f444f
commit
11b75ddda4
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue