Browse Source
Merge pull request #4097 from kevinxucs/kevinxucs/device-pixel-scaling-float
Fix framebuffer size on fractional scaling display
pull/15/merge
bunnei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 { |
|
|
|
|