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