opengl: don't make a mirror buffer on fakeFrame

This commit is contained in:
Vaxry 2023-11-30 10:15:02 +00:00
parent b9937484f4
commit 9f2027be4b

View File

@ -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