summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-06-27 08:49:07 +0200
committerGitHub <noreply@github.com>2020-06-27 08:49:07 +0200
commit6205965df9682c3a52adbdcf260e7b24c02b24d4 (patch)
treea582e28179d02b9da3f8ea4479001087f69807b6
parentMerge pull request #4164 from Kewlan/mute-audio-hotkey (diff)
parentFix framebuffer size on fractional scaling display. (diff)
downloadyuzu-6205965df9682c3a52adbdcf260e7b24c02b24d4.tar
yuzu-6205965df9682c3a52adbdcf260e7b24c02b24d4.tar.gz
yuzu-6205965df9682c3a52adbdcf260e7b24c02b24d4.tar.bz2
yuzu-6205965df9682c3a52adbdcf260e7b24c02b24d4.tar.lz
yuzu-6205965df9682c3a52adbdcf260e7b24c02b24d4.tar.xz
yuzu-6205965df9682c3a52adbdcf260e7b24c02b24d4.tar.zst
yuzu-6205965df9682c3a52adbdcf260e7b24c02b24d4.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu/bootmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index 696da2137..bfeb16458 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -360,7 +360,7 @@ QByteArray GRenderWindow::saveGeometry() {
}
qreal GRenderWindow::windowPixelRatio() const {
- return devicePixelRatio();
+ return devicePixelRatioF();
}
std::pair<u32, u32> GRenderWindow::ScaleTouch(const QPointF& pos) const {