Qt 5.6 incompatibility removed

This commit is contained in:
Uwe Rathmann 2020-10-20 17:44:36 +02:00
parent d0b833a38d
commit 513e167d25
1 changed files with 1 additions and 2 deletions

View File

@ -89,8 +89,7 @@ namespace
if ( state.isOpacityDirty() )
p->setUniformValue(m_opacityLocation, state.opacity());
if ( oldMaterial == nullptr || newMaterial->compare( oldMaterial ) != 0
|| state.isCachedMaterialDataDirty( ))
if ( oldMaterial == nullptr || newMaterial->compare( oldMaterial ) != 0 )
{
auto material = static_cast< const Material* >(newMaterial);