summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2023-11-30 10:15:02 +0000
committerVaxry <vaxry@vaxry.net>2023-11-30 10:15:02 +0000
commit9f2027be4bd888c5828412848bd73ba694ee2dbc (patch)
tree4c015b89fcafec90a9c5f3553a6ba661472083fa /src/render/OpenGL.cpp
parentb9937484f4deefbc07c5fc3483d15885068e975d (diff)
opengl: don't make a mirror buffer on fakeFrame
Diffstat (limited to 'src/render/OpenGL.cpp')
-rw-r--r--src/render/OpenGL.cpp2
1 files changed, 1 insertions, 1 deletions
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