mirror of
https://github.com/Trensa-Organization/Hyprland.git
synced 2025-03-16 03:03:40 +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…
Add table
Reference in a new issue