Fix framebuffer size on fractional scaling display.

This commit is contained in:
Kaiwen Xu authored and FearlessTobi committed 2020-06-28 20:34:37 +02:00
1 parent c4a4b40b2d
commit 265b0aa444
1 file changed
+1 -1
+1 -1
View File
@@ -266,7 +266,7 @@ QByteArray GRenderWindow::saveGeometry() {
}
qreal GRenderWindow::windowPixelRatio() const {
return devicePixelRatio();
return devicePixelRatioF();
}
std::pair<u32, u32> GRenderWindow::ScaleTouch(const QPointF pos) const {