mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 13:25:45 +00:00
Fix framebuffer size on fractional scaling display.
This commit is contained in:
parent
4510db3fb1
commit
fd55281d8a
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue