mirror of
https://github.com/PabloMK7/citra
synced 2024-11-15 05:08:23 +00:00
citra_qt/bootmanager.cpp: Fix scaling on QT with SW rasteriser (#6424)
This commit is contained in:
parent
e4e9fb4aed
commit
563c77154e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue