diff options
Diffstat (limited to 'src/render/pass/TexPassElement.cpp')
| -rw-r--r-- | src/render/pass/TexPassElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/pass/TexPassElement.cpp b/src/render/pass/TexPassElement.cpp index e6f4d052..c4b00220 100644 --- a/src/render/pass/TexPassElement.cpp +++ b/src/render/pass/TexPassElement.cpp @@ -9,11 +9,11 @@ CTexPassElement::CTexPassElement(const CTexPassElement::SRenderData& data_) : m_ } void CTexPassElement::draw(const CRegion& damage) { - g_pHyprOpenGL->m_endFrame = m_data.flipEndFrame; + g_pHyprOpenGL->pushMonitorTransformEnabled(m_data.flipEndFrame); CScopeGuard x = {[this]() { // - g_pHyprOpenGL->m_endFrame = false; + g_pHyprOpenGL->popMonitorTransformEnabled(); g_pHyprOpenGL->m_renderData.clipBox = {}; if (m_data.replaceProjection) g_pHyprOpenGL->m_renderData.monitorProjection = g_pHyprOpenGL->m_renderData.pMonitor->m_projMatrix; |
