summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/bootmanager.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-11-16 01:57:08 +0100
committerGitHub <noreply@github.com>2016-11-16 01:57:08 +0100
commit5a31552764dc8970253e642f4b829a8b785375c6 (patch)
tree8186a82c37ae04c17bd1d6250c524fc097f9671c /src/citra_qt/bootmanager.cpp
parentMerge pull request #2171 from jroweboy/fix-mac-build (diff)
parentRound the rectangle size to prevent float to int casting issues (diff)
downloadyuzu-5a31552764dc8970253e642f4b829a8b785375c6.tar
yuzu-5a31552764dc8970253e642f4b829a8b785375c6.tar.gz
yuzu-5a31552764dc8970253e642f4b829a8b785375c6.tar.bz2
yuzu-5a31552764dc8970253e642f4b829a8b785375c6.tar.lz
yuzu-5a31552764dc8970253e642f4b829a8b785375c6.tar.xz
yuzu-5a31552764dc8970253e642f4b829a8b785375c6.tar.zst
yuzu-5a31552764dc8970253e642f4b829a8b785375c6.zip
Diffstat (limited to '')
-rw-r--r--src/citra_qt/bootmanager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp
index 0abae86c3..7699ca8d0 100644
--- a/src/citra_qt/bootmanager.cpp
+++ b/src/citra_qt/bootmanager.cpp
@@ -161,9 +161,7 @@ void GRenderWindow::OnFramebufferSizeChanged() {
qreal pixelRatio = windowPixelRatio();
unsigned width = child->QPaintDevice::width() * pixelRatio;
unsigned height = child->QPaintDevice::height() * pixelRatio;
-
- NotifyFramebufferLayoutChanged(
- EmuWindow::FramebufferLayout::DefaultScreenLayout(width, height));
+ UpdateCurrentFramebufferLayout(width, height);
}
void GRenderWindow::BackupGeometry() {