Do not change BlendMode by following whether advanced blend equation is appied or not
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / visuals / gradient / gradient-visual.cpp
index 7d39a77..d0807df 100644 (file)
@@ -460,7 +460,7 @@ void GradientVisual::InitializeRenderer()
   mImpl->mRenderer.SetTextures( textureSet );
 
   // If opaque and then no need to have blending
   mImpl->mRenderer.SetTextures( textureSet );
 
   // If opaque and then no need to have blending
-  if( mIsOpaque && !IsAdvancedBlendEquationApplied() )
+  if( mIsOpaque )
   {
     mImpl->mRenderer.SetProperty( Renderer::Property::BLEND_MODE, BlendMode::OFF );
   }
   {
     mImpl->mRenderer.SetProperty( Renderer::Property::BLEND_MODE, BlendMode::OFF );
   }