qt: Fix HiDPI scaling on OpenGL 3.0 renderer
This commit is contained in:
@@ -87,8 +87,8 @@ OpenGLRenderer::resizeEvent(QResizeEvent *event)
|
|||||||
glViewport(
|
glViewport(
|
||||||
destination.x(),
|
destination.x(),
|
||||||
destination.y(),
|
destination.y(),
|
||||||
destination.width(),
|
destination.width() * devicePixelRatio(),
|
||||||
destination.height());
|
destination.height() * devicePixelRatio());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
Reference in New Issue
Block a user