projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "[Tizen] Fix to avoid empty texture rendering issue"
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
visuals
/
texture-manager-impl.cpp
diff --git
a/dali-toolkit/internal/visuals/texture-manager-impl.cpp
b/dali-toolkit/internal/visuals/texture-manager-impl.cpp
index
a1e9d8c
..
1ea95a9
100644
(file)
--- 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 );
}
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 )
{
if( loadState == TextureManager::UPLOADED )
{