From e5b14977ce815f815c719ebb952377aa8ddd289e Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 27 Jan 2024 00:31:27 -0800 Subject: [PATCH] Qt: Remember to set m_dims for the early return --- src/platform/qt/DisplayGL.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/qt/DisplayGL.cpp b/src/platform/qt/DisplayGL.cpp index eaae3f63c..a1e806ef4 100644 --- a/src/platform/qt/DisplayGL.cpp +++ b/src/platform/qt/DisplayGL.cpp @@ -647,6 +647,7 @@ void PainterGL::resizeContext() { mRectangle dims = {0, 0, size.width(), size.height()}; m_backend->setLayerDimensions(m_backend, VIDEO_LAYER_IMAGE, &dims); recenterLayers(); + m_dims = size; } void PainterGL::setMessagePainter(MessagePainter* messagePainter) {