Qt 5.6 incompatibility fixed
This commit is contained in:
parent
985fcf1e2d
commit
f69dedcb13
@ -91,8 +91,7 @@ namespace
|
|||||||
if ( state.isOpacityDirty() )
|
if ( state.isOpacityDirty() )
|
||||||
p->setUniformValue( m_opacityId, state.opacity() );
|
p->setUniformValue( m_opacityId, state.opacity() );
|
||||||
|
|
||||||
if ( oldMaterial == nullptr || newMaterial->compare( oldMaterial ) != 0
|
if ( oldMaterial == nullptr || newMaterial->compare( oldMaterial ) != 0 )
|
||||||
|| state.isCachedMaterialDataDirty( ))
|
|
||||||
{
|
{
|
||||||
auto material = static_cast< const Material* >( newMaterial );
|
auto material = static_cast< const Material* >( newMaterial );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user