mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 15:05:59 +01:00
opengl: don't make a mirror buffer on fakeFrame
This commit is contained in:
parent
b9937484f4
commit
9f2027be4b
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ void CHyprOpenGLImpl::end() {
|
||||||
|
|
||||||
TRACY_GPU_ZONE("RenderEnd");
|
TRACY_GPU_ZONE("RenderEnd");
|
||||||
|
|
||||||
if (!m_RenderData.pMonitor->mirrors.empty())
|
if (!m_RenderData.pMonitor->mirrors.empty() && !m_bFakeFrame)
|
||||||
saveBufferForMirror(); // save with original damage region
|
saveBufferForMirror(); // save with original damage region
|
||||||
|
|
||||||
// end the render, copy the data to the WLR framebuffer
|
// end the render, copy the data to the WLR framebuffer
|
||||||
|
|
Loading…
Reference in a new issue