Skip to content

Commit

Permalink
Merge pull request #91 from kelvie/main
Browse files Browse the repository at this point in the history
Fix ifdef
  • Loading branch information
taj-ny authored Aug 6, 2024
2 parents 0c52458 + 9a32b18 commit 521f7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blur.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ bool BlurEffect::enabledByDefault()

bool BlurEffect::supported()
{
#if KWIN_6_0
#ifdef KWIN_6_0
return effects->isOpenGLCompositing() && GLFramebuffer::supported() && GLFramebuffer::blitSupported();
#else
return effects->openglContext() && effects->openglContext()->supportsBlits();
Expand Down

0 comments on commit 521f7b5

Please sign in to comment.