Revert "[Tizen] Fix to avoid empty texture rendering issue"
authorSeungho, Baek <sbsh.baek@samsung.com>
Mon, 10 Dec 2018 04:52:50 +0000 (13:52 +0900)
committerSeungho, Baek <sbsh.baek@samsung.com>
Mon, 10 Dec 2018 04:52:50 +0000 (13:52 +0900)
This reverts commit 6c4d098431929b7fa86a4e6d7951a6019d6d199f.

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 )
       {