From 613a6e5c35d33404c7f467f038f39c6ea2c33d41 Mon Sep 17 00:00:00 2001 From: kallaballa Date: Sat, 18 Feb 2023 15:56:48 +0100 Subject: [PATCH] stash --- src/common/viz2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/viz2d.cpp b/src/common/viz2d.cpp index afbd91d3e..17b5988a8 100644 --- a/src/common/viz2d.cpp +++ b/src/common/viz2d.cpp @@ -757,7 +757,7 @@ bool Viz2D::display() { makeCurrent(); glfwPollEvents(); screen().draw_contents(); - clglContext_->blitFrameBufferToScreen(getViewport(), getWindowSize(), isStretching()); + clglContext_->blitFrameBufferToScreen(getViewport(), getInitialSize(), isStretching()); screen().draw_widgets(); glfwSwapBuffers(glfwWindow_); result = !glfwWindowShouldClose(glfwWindow_);