mirror of
https://github.com/86Box/86Box.git
synced 2026-02-24 20:35:32 -07:00
Fix window coordinate saving and loading
This commit is contained in:
@@ -32,6 +32,7 @@ extern "C" {
|
||||
|
||||
void HardwareRenderer::resizeGL(int w, int h)
|
||||
{
|
||||
m_context->makeCurrent(this);
|
||||
glViewport(0, 0, qRound(w * devicePixelRatio()), qRound(h * devicePixelRatio()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user