diff options
-rw-r--r-- | src/quick/scenegraph/util/qsgvertexcolormaterial.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/util/qsgvertexcolormaterial.cpp b/src/quick/scenegraph/util/qsgvertexcolormaterial.cpp index 29f95e56b0..eeb30569ec 100644 --- a/src/quick/scenegraph/util/qsgvertexcolormaterial.cpp +++ b/src/quick/scenegraph/util/qsgvertexcolormaterial.cpp @@ -66,7 +66,7 @@ QSGMaterialType QSGVertexColorMaterialShader::type; void QSGVertexColorMaterialShader::updateState(const RenderState &state, QSGMaterial *newEffect, QSGMaterial *) { - if (!(newEffect->flags() & QSGMaterial::Blending) || state.isOpacityDirty()) + if (state.isOpacityDirty()) program()->setUniformValue(m_opacity_id, state.opacity()); if (state.isMatrixDirty()) |