mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-27 22:14:22 +08:00
Fix framebuffer size on fractional scaling display.
This commit is contained in:
@@ -355,7 +355,7 @@ QByteArray GRenderWindow::saveGeometry() {
|
||||
}
|
||||
|
||||
qreal GRenderWindow::windowPixelRatio() const {
|
||||
return devicePixelRatio();
|
||||
return devicePixelRatioF();
|
||||
}
|
||||
|
||||
std::pair<u32, u32> GRenderWindow::ScaleTouch(const QPointF& pos) const {
|
||||
|
||||
Reference in New Issue
Block a user