mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-08 19:18:02 +02:00
fix C++20 deprecation warning
This commit is contained in:
parent
8814ca02c5
commit
b5e4126931
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…
Add table
Reference in a new issue