[Tizen] Disable premultiplied alpha when the Image is used 50/226150/1
authorHeeyong Song <heeyong.song@samsung.com>
Thu, 27 Feb 2020 06:27:57 +0000 (15:27 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Thu, 27 Feb 2020 06:53:31 +0000 (15:53 +0900)
Change-Id: I499a860235c6efc741453701fe0daefb500441eb

dali-toolkit/internal/visuals/image/image-visual.cpp

index 03b25d7..eb70598 100644 (file)
@@ -212,7 +212,8 @@ ImageVisual::ImageVisual( VisualFactoryCache& factoryCache, ImageVisualShaderFac
   mLoading( false ),
   mOrientationCorrection( true )
 {
-  EnablePreMultipliedAlpha( mFactoryCache.GetPreMultiplyOnLoad() );
+  // PreMultiplied alpha should be disabled when the Image is used.
+  EnablePreMultipliedAlpha( false );
 }
 
 ImageVisual::~ImageVisual()