[Tizen] Do not call SetBufferDamagedRects if the damaged rect is empty 56/280456/1
authorHeeyong Song <heeyong.song@samsung.com>
Mon, 29 Aug 2022 07:53:28 +0000 (16:53 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Tue, 30 Aug 2022 08:57:10 +0000 (17:57 +0900)
commit1882df9761463981ded2b12f36ba8331990868f0
tree5e04ed44393abbde1d0e3430be02c2ba9af25f93
parentb5dd58884cf8bb71a7d6ecc50411eb7be270064c
[Tizen] Do not call SetBufferDamagedRects if the damaged rect is empty

An empty damaged rect means we will not render the scene and not swap buffers.
A call to eglSetDamageRegion without out eglSwapBuffers may cause EGL_BAD_ACCESS error.

Change-Id: I949498c39d9a558b42b7e2edbbe1162f432e87b8
dali/internal/window-system/common/window-render-surface.cpp