mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-24 09:12:49 +00:00
Merge pull request #4097 from kevinxucs/kevinxucs/device-pixel-scaling-float
Fix framebuffer size on fractional scaling display
This commit is contained in:
commit
6205965df9
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue