mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-01 00:12:55 +00:00
Fix framebuffer size on fractional scaling display.
This commit is contained in:
parent
0f57bbfa3f
commit
7a59eeb5be
|
@ -355,7 +355,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 {
|
||||||
|
|
Loading…
Reference in a new issue