mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-25 16:02:46 +00: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 a new issue