2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #4097 from kevinxucs/kevinxucs/device-pixel-scaling-float

Fix framebuffer size on fractional scaling display
This commit is contained in:
bunnei 2020-06-27 02:49:07 -04:00 committed by GitHub
commit 6205965df9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -360,7 +360,7 @@ QByteArray GRenderWindow::saveGeometry() {
} }
qreal GRenderWindow::windowPixelRatio() const { qreal GRenderWindow::windowPixelRatio() const {
return devicePixelRatio(); return devicePixelRatioF();
} }
std::pair<u32, u32> GRenderWindow::ScaleTouch(const QPointF& pos) const { std::pair<u32, u32> GRenderWindow::ScaleTouch(const QPointF& pos) const {