Revert "[Tizen] Fix to avoid empty texture rendering issue"
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 17 Dec 2018 05:06:30 +0000 (14:06 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 17 Dec 2018 05:06:38 +0000 (14:06 +0900)
This reverts commit 2f0cf2f845bd515132a1518da3c515b7efa3edb5.

Change-Id: I4b335a7d23d80c58213109c57cc59c5c62979adb

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