Revert "[Tizen] Fix to avoid empty texture rendering issue"
authorHeeyong Song <heeyong.song@samsung.com>
Mon, 3 Dec 2018 05:54:50 +0000 (14:54 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Mon, 3 Dec 2018 05:54:52 +0000 (14:54 +0900)
This reverts commit 5960e20b0cfb6b164f689870abc95ece2a54830f.

Change-Id: I9406ff439fdcb98bd8d5023b30bd71c3a50ad0b9

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