Commit 81c73306 authored by David Edmundson's avatar David Edmundson
Browse files

[scenes/opengl] Set correct blend mode for EffectQuickView buffers

Everything is already multiplied in the buffer, we want to copy the
source directly.

Test Plan:
Looked at something with EffectQuickView and alpha
It now matched what it should be

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: kwin

Tags: #kwin

Differential Revision:
parent d2f37a73
...@@ -874,8 +874,7 @@ void SceneOpenGL::paintEffectQuickView(EffectQuickView *w) ...@@ -874,8 +874,7 @@ void SceneOpenGL::paintEffectQuickView(EffectQuickView *w)
shader->setUniform(GLShader::ModelViewProjectionMatrix, mvp); shader->setUniform(GLShader::ModelViewProjectionMatrix, mvp);
glEnable(GL_BLEND); glEnable(GL_BLEND);
t->bind(); t->bind();
t->render(QRegion(infiniteRegion()), w->geometry()); t->render(QRegion(infiniteRegion()), w->geometry());
t->unbind(); t->unbind();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment