From f9d916cea42d31acdfc2aa61f11bd4ce727e4102 Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Mon, 21 Jan 2019 16:13:08 +0900 Subject: [PATCH] Revert "[Tizen] Fix to avoid empty texture rendering issue" This reverts commit 646a888df4f26555227b79c563b0c0f483e9730f. Change-Id: If490a0437503d2c9c806f8f3b0e40bb2518e1531 --- 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