projects
/
platform
/
core
/
uifw
/
dali-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
c4b8214
)
Merge "Call SetClearEnabled() for clearing background" into devel/master
author
sunghyun kim
<scholb.kim@samsung.com>
Wed, 27 May 2020 00:51:32 +0000
(
00:51
+0000)
committer
Gerrit Code Review
<gerrit@review>
Wed, 27 May 2020 00:51:32 +0000
(
00:51
+0000)
dali/internal/event/common/scene-impl.cpp
patch
|
blob
|
history
diff --git
a/dali/internal/event/common/scene-impl.cpp
b/dali/internal/event/common/scene-impl.cpp
index
2cc2cdc
..
d7b80d6
100644
(file)
--- a/
dali/internal/event/common/scene-impl.cpp
+++ b/
dali/internal/event/common/scene-impl.cpp
@@
-133,8
+133,9
@@
void Scene::Initialize( Size size )
// Create the list of render-tasks
mRenderTaskList = RenderTaskList::New();
- // Create the default render-task
- mRenderTaskList->CreateTask( mRootLayer.Get(), mDefaultCamera.Get() );
+ // Create the default render-task and ensure clear is enabled on it to show the background color
+ RenderTaskPtr renderTask = mRenderTaskList->CreateTask( mRootLayer.Get(), mDefaultCamera.Get() );
+ renderTask->SetClearEnabled(true);
SurfaceResized( size.width, size.height );