Revert "[Tizen] Fix to avoid empty texture rendering issue"
authorSunghyun kim <scholb.kim@samsung.com>
Wed, 2 Jan 2019 01:53:40 +0000 (10:53 +0900)
committerSunghyun kim <scholb.kim@samsung.com>
Wed, 2 Jan 2019 01:53:46 +0000 (10:53 +0900)
This reverts commit 948f0b39a0a3c1fb1a979b711d1f2aaed69c6b1a.

Change-Id: Iba5c519f760cd27f71761efea1fb44941d26c972

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