[effects/blur] Check for blitting support
Summary: In D12678 blur was changed to use `blitFromFramebuffer()` instead of `glCopyTexSubImage2D()` Now it checks if the GPU supports it. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D13246
This commit is contained in:
parent
37f4c54d17
commit
be3168b832
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ bool BlurEffect::enabledByDefault()
|
|||
|
||||
bool BlurEffect::supported()
|
||||
{
|
||||
bool supported = effects->isOpenGLCompositing() && GLRenderTarget::supported();
|
||||
bool supported = effects->isOpenGLCompositing() && GLRenderTarget::supported() && GLRenderTarget::blitSupported();
|
||||
|
||||
if (supported) {
|
||||
int maxTexSize;
|
||||
|
|
Loading…
Reference in a new issue