From e5f532a9a1ce44ceb11c2525397815cba797729c Mon Sep 17 00:00:00 2001 From: Daekwang Ryu Date: Tue, 6 Oct 2020 12:07:25 +0900 Subject: [PATCH] Revert "[Tizen] partial rendering" This reverts commit 92f2ac073fa1afe2d3b7c97e64e45bf2d0ad16bf. --- dali/internal/render/common/render-item.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100755 => 100644 dali/internal/render/common/render-item.cpp diff --git a/dali/internal/render/common/render-item.cpp b/dali/internal/render/common/render-item.cpp old mode 100755 new mode 100644 index d0daa83..b795530 --- a/dali/internal/render/common/render-item.cpp +++ b/dali/internal/render/common/render-item.cpp @@ -110,8 +110,8 @@ ClippingBox RenderItem::CalculateViewportSpaceAABB( const Vector3& size, const i static_cast( viewportWidth ) * 0.5f - aabb.x, static_cast( viewportHeight ) * 0.5f - aabb.y ); - int x = static_cast< int >( floor( aabbInScreen.x ) ); - int y = static_cast< int >( floor( aabbInScreen.y ) ); + int x = static_cast< int >( roundf( aabbInScreen.x ) ); + int y = static_cast< int >( roundf( aabbInScreen.y ) ); int z = static_cast< int >( roundf( aabbInScreen.z ) ); int w = static_cast< int >( roundf( aabbInScreen.w ) ); -- 2.7.4