From beb477fd925ffbb5acb5d74d0fedaf6fd1c7d1c5 Mon Sep 17 00:00:00 2001 From: Sunghyun kim Date: Tue, 13 Nov 2018 15:25:35 +0900 Subject: [PATCH] Revert "[Tizen] Fix to avoid empty texture rendering issue" This reverts commit f14eb61cc4e68fefebd1ba386f8c5d63212b4a01. --- 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