diff --git a/effects/shadow/shadow.cpp b/effects/shadow/shadow.cpp index 3577ddc6b2..0aab471db5 100644 --- a/effects/shadow/shadow.cpp +++ b/effects/shadow/shadow.cpp @@ -667,6 +667,8 @@ void ShadowEffect::drawShadowQuadOpenGL( GLTexture *texture, QVector vert shader->setUniform("opacity", opacity); shader->setUniform("saturation", saturation); shader->setUniform("brightness", brightness); + shader->setUniform("textureWidth", 1.0f); + shader->setUniform("textureHeight", 1.0f); } texture->bind(); texture->enableNormalizedTexCoords();