mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 07:05:58 +01:00
fix C++20 deprecation warning
This commit is contained in:
parent
969bebbd06
commit
7996abc8ed
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ void CHyprOpenGLImpl::renderTextureWithBlur(const CTexture& tex, float matrix[9]
|
|||
const auto RADIUS = g_pConfigManager->getInt("decoration:blur_size") + 2;
|
||||
const auto PFRAMEBUFFER = &m_mMonitorFramebuffers[m_RenderData.pMonitor];
|
||||
|
||||
auto drawWithShader = [=](CShader* pShader) {
|
||||
auto drawWithShader = [&](CShader* pShader) {
|
||||
glActiveTexture(GL_TEXTURE0);
|
||||
glBindTexture(PFRAMEBUFFER->m_cTex.m_iTarget, PFRAMEBUFFER->m_cTex.m_iTexID);
|
||||
|
||||
|
|
Loading…
Reference in a new issue