@ -56,7 +56,7 @@ void ImageItemOpenGL::preprocess()
m_texture->setFilter(GL_LINEAR);
m_texture->setWrapMode(GL_CLAMP_TO_EDGE);
} else {
m_texture->update(m_image);
m_texture->update(m_image, m_image.rect());
}
@ -419,7 +419,7 @@ void SceneOpenGLDecorationRenderer::renderPart(const QRect &rect, const QRect &p
if (padding.left() == 0) {
dirtyOffset.rx() += TexturePad;
m_texture->update(image, textureOffset + dirtyOffset);
m_texture->update(image, image.rect(), textureOffset + dirtyOffset);
const QMargins SceneOpenGLDecorationRenderer::texturePadForPart(