diff options
| author | 2020-06-16 20:45:20 -0700 | |
|---|---|---|
| committer | 2020-06-16 20:45:20 -0700 | |
| commit | 7a59eeb5befbb8bdeb93d27adb6848ef40511644 (patch) | |
| tree | d0e1e6d5c02fb43a52c63fb4b26710f3a7c8aac6 /src | |
| parent | Merge pull request #3976 from Neodyblue/qdarkstyle_fix_prop (diff) | |
| download | yuzu-7a59eeb5befbb8bdeb93d27adb6848ef40511644.tar.gz yuzu-7a59eeb5befbb8bdeb93d27adb6848ef40511644.tar.xz yuzu-7a59eeb5befbb8bdeb93d27adb6848ef40511644.zip | |
Fix framebuffer size on fractional scaling display.
Diffstat (limited to 'src')
| -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 1f5e43043..7f617d6a7 100644 --- a/src/yuzu/bootmanager.cpp +++ b/src/yuzu/bootmanager.cpp | |||
| @@ -355,7 +355,7 @@ QByteArray GRenderWindow::saveGeometry() { | |||
| 355 | } | 355 | } |
| 356 | 356 | ||
| 357 | qreal GRenderWindow::windowPixelRatio() const { | 357 | qreal GRenderWindow::windowPixelRatio() const { |
| 358 | return devicePixelRatio(); | 358 | return devicePixelRatioF(); |
| 359 | } | 359 | } |
| 360 | 360 | ||
| 361 | std::pair<u32, u32> GRenderWindow::ScaleTouch(const QPointF& pos) const { | 361 | std::pair<u32, u32> GRenderWindow::ScaleTouch(const QPointF& pos) const { |