mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-12-24 17:01:48 +01:00
citra_qt/bootmanager.cpp: Fix scaling on QT with SW rasteriser (#6424)
This commit is contained in:
parent
e4e9fb4aed
commit
563c77154e
@ -296,7 +296,7 @@ struct SoftwareRenderWidget : public RenderWidget {
|
||||
|
||||
const auto draw_screen = [&](int fb_id) {
|
||||
const auto rect = fb_id == 0 ? layout.top_screen : layout.bottom_screen;
|
||||
const QImage screen = LoadFramebuffer(fb_id);
|
||||
const QImage screen = LoadFramebuffer(fb_id).scaled(rect.GetWidth(), rect.GetHeight());
|
||||
painter.drawImage(rect.left, rect.top, screen);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user