Fix resize glitches while paused

This commit is contained in:
Cacodemon345
2025-09-19 15:46:36 +06:00
parent f1bfe48832
commit cdd72a18b6
2 changed files with 4 additions and 0 deletions

View File

@@ -1223,6 +1223,9 @@ OpenGLRenderer::resizeEvent(QResizeEvent *event)
destination.y(), destination.y(),
destination.width(), destination.width(),
destination.height()); destination.height());
if (video_framerate == -1)
render();
} }
void void

View File

@@ -105,6 +105,7 @@ SoftwareRenderer::resizeEvent(QResizeEvent *event)
#else #else
QWindow::resizeEvent(event); QWindow::resizeEvent(event);
m_backingStore->resize(event->size()); m_backingStore->resize(event->size());
render();
#endif #endif
} }