From 2f0cf2f845bd515132a1518da3c515b7efa3edb5 Mon Sep 17 00:00:00 2001 From: "Seungho, Baek" Date: Mon, 10 Dec 2018 13:54:04 +0900 Subject: [PATCH] [Tizen] Fix to avoid empty texture rendering issue This reverts commit 8b72c6841f5d4090a2d8263972d39ced466226ae. --- dali-toolkit/internal/visuals/texture-manager-impl.cpp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/dali-toolkit/internal/visuals/texture-manager-impl.cpp b/dali-toolkit/internal/visuals/texture-manager-impl.cpp index 1ea95a9..a1e9d8c 100644 --- a/dali-toolkit/internal/visuals/texture-manager-impl.cpp +++ b/dali-toolkit/internal/visuals/texture-manager-impl.cpp @@ -242,7 +242,21 @@ TextureSet TextureManager::LoadTexture( } TextureManager::LoadState loadState = GetTextureStateInternal( textureId ); - loadingStatus = ( loadState == TextureManager::LOADING ); + switch (loadState) + { + case TextureManager::NOT_STARTED : + case TextureManager::LOADING : + case TextureManager::LOAD_FAILED : + { + loadingStatus = true; + break; + } + default : + { + loadingStatus = false; + break; + } + } if( loadState == TextureManager::UPLOADED ) { -- 2.7.4