diff options
author | bunnei <bunneidev@gmail.com> | 2020-06-27 08:49:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-27 08:49:07 +0200 |
commit | 6205965df9682c3a52adbdcf260e7b24c02b24d4 (patch) | |
tree | a582e28179d02b9da3f8ea4479001087f69807b6 | |
parent | Merge pull request #4164 from Kewlan/mute-audio-hotkey (diff) | |
parent | Fix framebuffer size on fractional scaling display. (diff) | |
download | yuzu-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 |
-rw-r--r-- | src/yuzu/bootmanager.cpp | 2 |
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 { |