From 9f2027be4bd888c5828412848bd73ba694ee2dbc Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 30 Nov 2023 10:15:02 +0000 Subject: [PATCH] opengl: don't make a mirror buffer on fakeFrame --- src/render/OpenGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index ee273dc4..dbdabdad 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -257,7 +257,7 @@ void CHyprOpenGLImpl::end() { TRACY_GPU_ZONE("RenderEnd"); - if (!m_RenderData.pMonitor->mirrors.empty()) + if (!m_RenderData.pMonitor->mirrors.empty() && !m_bFakeFrame) saveBufferForMirror(); // save with original damage region // end the render, copy the data to the WLR framebuffer