mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-27 01:22:37 -06: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 draw_screen = [&](int fb_id) {
|
||||||
const auto rect = fb_id == 0 ? layout.top_screen : layout.bottom_screen;
|
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);
|
painter.drawImage(rect.left, rect.top, screen);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue