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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user