Don't pre-multiply on external images. 51/167451/1
authorFrancisco Santos <f1.santos@samsung.com>
Wed, 17 Jan 2018 18:10:10 +0000 (18:10 +0000)
committerFrancisco Santos <f1.santos@samsung.com>
Wed, 17 Jan 2018 18:10:10 +0000 (18:10 +0000)
Change-Id: I4410604e59d7b4b235f86133c8c5bb9c110f84d7

dali-toolkit/internal/visuals/texture-manager-impl.cpp

index 7f62d22..a12fae0 100644 (file)
@@ -1,5 +1,5 @@
  /*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -144,6 +144,7 @@ TextureSet TextureManager::LoadTexture(
       {
         if( elem.textureId == id )
         {
+          preMultiplyOnLoad = TextureManager::MultiplyOnLoad::LOAD_WITHOUT_MULTIPLY;
           textureId = elem.textureId;
           return elem.textureSet;
         }