[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
b3b691a250
commit
81f38abe6d
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,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