Fix unstyled effect frames
This commit is contained in:
parent
990001c5d7
commit
2d40f73530
1 changed files with 1 additions and 1 deletions
|
@ -1281,7 +1281,7 @@ void SceneOpenGL::EffectFrame::render( QRegion region, double opacity, double fr
|
|||
m_unstyledTexture->bind();
|
||||
const QPoint pt = m_effectFrame->geometry().topLeft();
|
||||
if (sceneShader) {
|
||||
shader->setUniform("geometry", QVector2D(pt.x(), pt.y()));
|
||||
shader->setUniform("offset", QVector2D(pt.x(), pt.y()));
|
||||
} else {
|
||||
#ifndef KWIN_HAVE_OPENGLES
|
||||
glTranslatef( pt.x(), pt.y(), 0.0f );
|
||||
|
|
Loading…
Reference in a new issue