From ecdf6cc2af6b888d2c157e1369366dfbccc4513b Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Mon, 3 Dec 2018 14:54:50 +0900 Subject: [PATCH] Revert "[Tizen] Fix to avoid empty texture rendering issue" This reverts commit 5960e20b0cfb6b164f689870abc95ece2a54830f. Change-Id: I9406ff439fdcb98bd8d5023b30bd71c3a50ad0b9 --- dali-toolkit/internal/visuals/texture-manager-impl.cpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) 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 ) { -- 2.7.4