diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-01 19:50:37 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-01 19:50:37 +0200 |
| commit | e794de1f4d6b9193adeda378da812956031085be (patch) | |
| tree | be1dbc77996c0b9a46f6a9d9ce0eb8286a987872 /src/render/OpenGL.cpp | |
| parent | 1edd66618f45a2e042260e4af81933d532e82394 (diff) | |
guard texid in new optimized blur
Diffstat (limited to 'src/render/OpenGL.cpp')
| -rw-r--r-- | src/render/OpenGL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index 1d29e44d..4095099b 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -657,7 +657,7 @@ void CHyprOpenGLImpl::renderTextureWithBlur(const CTexture& tex, wlr_box* pBox, } // vvv TODO: layered blur fbs? - const bool USENEWOPTIMIZE = (*PBLURNEWOPTIMIZE && m_pCurrentWindow && !m_pCurrentWindow->m_bIsFloating); + const bool USENEWOPTIMIZE = (*PBLURNEWOPTIMIZE && m_pCurrentWindow && !m_pCurrentWindow->m_bIsFloating && m_RenderData.pCurrentMonData->blurFB.m_cTex.m_iTexID); const auto POUTFB = USENEWOPTIMIZE ? &m_RenderData.pCurrentMonData->blurFB : blurMainFramebufferWithDamage(a, pBox, &inverseOpaque); |
