mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 02:50:14 +00:00
Merge pull request #5435 from FearlessTobi/port-4097
Port yuzu-emu/yuzu#4097: "Fix framebuffer size on fractional scaling display."
This commit is contained in:
commit
910cc9efc1
@ -266,7 +266,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 New Issue
Block a user