Merge branch 'Plasma/5.15'
This commit is contained in:
commit
16a2799b3a
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ void ScreenEdgeEffect::paintScreen(int mask, QRegion region, ScreenPaintData &da
|
|||
if (effects->isOpenGLCompositing()) {
|
||||
GLTexture *texture = (*it)->texture.data();
|
||||
glEnable(GL_BLEND);
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
|
||||
texture->bind();
|
||||
ShaderBinder binder(ShaderTrait::MapTexture | ShaderTrait::Modulate);
|
||||
const QVector4D constant(opacity, opacity, opacity, opacity);
|
||||
|
|
Loading…
Reference in a new issue