projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove RenderSurface from Core
[platform/core/uifw/dali-adaptor.git]
/
dali
/
internal
/
adaptor
/
common
/
application-impl.cpp
diff --git
a/dali/internal/adaptor/common/application-impl.cpp
b/dali/internal/adaptor/common/application-impl.cpp
index
28ac1a3
..
8e38ca5
100755
(executable)
--- a/
dali/internal/adaptor/common/application-impl.cpp
+++ b/
dali/internal/adaptor/common/application-impl.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 20
18
Samsung Electronics Co., Ltd.
+ * Copyright (c) 20
20
Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-362,12
+362,6
@@
void Application::OnSurfaceCreated( Any newSurface )
void Application::OnSurfaceDestroyed( Any surface )
{
void Application::OnSurfaceDestroyed( Any surface )
{
- void* windowToDelete = AnyCast< void* >( surface );
- void* oldWindow = AnyCast< void* >( mMainWindow.GetNativeHandle() );
- if( oldWindow == windowToDelete )
- {
- mAdaptor->DeleteSurface( mAdaptor->GetSurface() );
- }
}
void Application::OnResize(Dali::Adaptor& adaptor)
}
void Application::OnResize(Dali::Adaptor& adaptor)