From: Sunghyun kim Date: Wed, 2 Jan 2019 01:53:40 +0000 (+0900) Subject: Revert "[Tizen] Fix to avoid empty texture rendering issue" X-Git-Tag: accepted/tizen/unified/20190102.092236~6 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=a6e1c2632c65fb0642a54f18dbd54e9aa673d4b7 Revert "[Tizen] Fix to avoid empty texture rendering issue" This reverts commit 948f0b39a0a3c1fb1a979b711d1f2aaed69c6b1a. Change-Id: Iba5c519f760cd27f71761efea1fb44941d26c972 --- diff --git a/dali-toolkit/internal/visuals/texture-manager-impl.cpp b/dali-toolkit/internal/visuals/texture-manager-impl.cpp index a1e9d8c..1ea95a9 100644 --- a/dali-toolkit/internal/visuals/texture-manager-impl.cpp +++ b/dali-toolkit/internal/visuals/texture-manager-impl.cpp @@ -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 ) {