mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-08-29 23:46:31 -05: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