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
index 2c733db..4974602 100644 (file)
@@ -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");
   }
 }