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
Merge "(RPM) Do not copy build library in profile RPM if building only one profile...
[platform/core/uifw/dali-adaptor.git]
/
dali
/
internal
/
window-system
/
tizen-wayland
/
ecore-wl2
/
window-system-ecore-wl2.cpp
diff --git
a/dali/internal/window-system/tizen-wayland/ecore-wl2/window-system-ecore-wl2.cpp
b/dali/internal/window-system/tizen-wayland/ecore-wl2/window-system-ecore-wl2.cpp
index
2c733db
..
4974602
100644
(file)
--- a/
dali/internal/window-system/tizen-wayland/ecore-wl2/window-system-ecore-wl2.cpp
+++ b/
dali/internal/window-system/tizen-wayland/ecore-wl2/window-system-ecore-wl2.cpp
@@
-50,6
+50,8
@@
void GetScreenSize( int& width, int& height )
if( display )
{
ecore_wl2_display_screen_size_get( display, &width, &height );
+ DALI_ASSERT_ALWAYS((width>0) && "screen width is 0");
+ DALI_ASSERT_ALWAYS((height>0) && "screen height is 0");
}
}