aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-05-02 21:23:48 +0100
committervaxerski <[email protected]>2023-05-02 21:23:53 +0100
commit72b118cd8f8fc56e611a6b357c844637b85ccc54 (patch)
tree64e9b921b7493ca50c15c4d847b5e5dc5607e6cc
parent80b2ac1cc501af779347ec47bf560e1dbab5ceac (diff)
downloadHyprland-72b118cd8f8fc56e611a6b357c844637b85ccc54.tar.gz
Hyprland-72b118cd8f8fc56e611a6b357c844637b85ccc54.zip
opengl: don't use new optim with xray off on special tiled
-rw-r--r--src/render/OpenGL.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp
index d8edb84c..e47f5119 100644
--- a/src/render/OpenGL.cpp
+++ b/src/render/OpenGL.cpp
@@ -980,7 +980,8 @@ void CHyprOpenGLImpl::renderTextureWithBlur(const CTexture& tex, wlr_box* pBox,
wlr_region_scale(&inverseOpaque, &inverseOpaque, m_RenderData.pMonitor->scale);
// vvv TODO: layered blur fbs?
- const bool USENEWOPTIMIZE = (*PBLURNEWOPTIMIZE && !blockBlurOptimization && ((m_pCurrentWindow && !m_pCurrentWindow->m_bIsFloating) || *PBLURXRAY) &&
+ const bool USENEWOPTIMIZE = (*PBLURNEWOPTIMIZE && !blockBlurOptimization &&
+ ((m_pCurrentWindow && !m_pCurrentWindow->m_bIsFloating && !g_pCompositor->isWorkspaceSpecial(m_pCurrentWindow->m_iWorkspaceID)) || *PBLURXRAY) &&
m_RenderData.pCurrentMonData->blurFB.m_cTex.m_iTexID);
CFramebuffer* POUTFB = nullptr;