aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/render/OpenGL.cpp
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-07-29 13:27:40 +0200
committervaxerski <[email protected]>2023-07-29 13:27:40 +0200
commitf61a714320f789f4bb65d0ae6d5ff2fe945cfb29 (patch)
tree882c1d4325927710e0e4c289d21f21dc7f4aafc2 /src/render/OpenGL.cpp
parent77818e34578769c25bb978553f076d25704914b6 (diff)
downloadHyprland-f61a714320f789f4bb65d0ae6d5ff2fe945cfb29.tar.gz
Hyprland-f61a714320f789f4bb65d0ae6d5ff2fe945cfb29.zip
renderer: cleanup old redundancies in CFramebuffer
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 5a436414..81401727 100644
--- a/src/render/OpenGL.cpp
+++ b/src/render/OpenGL.cpp
@@ -124,7 +124,7 @@ void CHyprOpenGLImpl::begin(CMonitor* pMonitor, CRegion* pDamage, bool fake) {
m_iWLROutputFb = m_iCurrentOutputFb;
// ensure a framebuffer for the monitor exists
- if (m_mMonitorRenderResources.find(pMonitor) == m_mMonitorRenderResources.end() || m_RenderData.pCurrentMonData->primaryFB.m_Size != pMonitor->vecPixelSize) {
+ if (m_mMonitorRenderResources.find(pMonitor) == m_mMonitorRenderResources.end() || m_RenderData.pCurrentMonData->primaryFB.m_vSize != pMonitor->vecPixelSize) {
m_RenderData.pCurrentMonData->stencilTex.allocate();
m_RenderData.pCurrentMonData->primaryFB.m_pStencilTex = &m_RenderData.pCurrentMonData->stencilTex;