Revert "[Tizen] Fix to avoid empty texture rendering issue"
authorJiyun Yang <ji.yang@samsung.com>
Thu, 22 Nov 2018 06:11:46 +0000 (15:11 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Thu, 22 Nov 2018 06:11:46 +0000 (15:11 +0900)
This reverts commit 18e480c9ad5726b83f2cf9f6842f6a79d4949b90.

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

index a1e9d8c..1ea95a9 100644 (file)
@@ -242,21 +242,7 @@ TextureSet TextureManager::LoadTexture(
       }
 
       TextureManager::LoadState loadState = GetTextureStateInternal( textureId );
-      switch (loadState)
-      {
-        case TextureManager::NOT_STARTED :
-        case TextureManager::LOADING :
-        case TextureManager::LOAD_FAILED :
-        {
-          loadingStatus = true;
-          break;
-        }
-        default :
-        {
-          loadingStatus = false;
-          break;
-        }
-      }
+      loadingStatus = ( loadState == TextureManager::LOADING );
 
       if( loadState == TextureManager::UPLOADED )
       {