Revert "[Tizen] Fix to avoid empty texture rendering issue"
authorHeeyong Song <heeyong.song@samsung.com>
Mon, 21 Jan 2019 07:13:08 +0000 (16:13 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Mon, 21 Jan 2019 07:13:18 +0000 (16:13 +0900)
This reverts commit 646a888df4f26555227b79c563b0c0f483e9730f.

Change-Id: If490a0437503d2c9c806f8f3b0e40bb2518e1531

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