2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-14 07:26:09 +00:00

aurora: DPI scaling fixes (renderer, imgui)

This commit is contained in:
2022-02-26 15:38:08 -05:00
parent 8e9199429d
commit 4b69cb449d
9 changed files with 86 additions and 61 deletions

View File

@@ -417,7 +417,7 @@ public:
}
void onAppWindowResized(const aurora::WindowSize& size) noexcept override {
CGraphics::SetViewportResolution({static_cast<s32>(size.width), static_cast<s32>(size.height)});
CGraphics::SetViewportResolution({static_cast<s32>(size.fb_width), static_cast<s32>(size.fb_height)});
}
void onAppWindowMoved(std::int32_t x, std::int32_t y) noexcept override {