From: Seungho, Baek Date: Tue, 14 Jul 2020 08:57:35 +0000 (+0900) Subject: Revert "[Tizen] Fix the code using CreateNativeSurface()" X-Git-Tag: accepted/tizen/unified/20200715.002047~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df766b313c4db442e9e92f272714a262b6b03302;p=platform%2Fcore%2Fuifw%2Fdali-extension.git Revert "[Tizen] Fix the code using CreateNativeSurface()" This reverts commit 98efc8cf4e0c5a654fea48a30cbabea0cab9a975. --- diff --git a/dali-extension/internal/evas-plugin/scene-impl.cpp b/dali-extension/internal/evas-plugin/scene-impl.cpp index 34822eb..59cb6cd 100644 --- a/dali-extension/internal/evas-plugin/scene-impl.cpp +++ b/dali-extension/internal/evas-plugin/scene-impl.cpp @@ -61,8 +61,7 @@ Scene::Scene( Evas_Object* parentEvasObject, uint16_t width, uint16_t height, bo DALI_ASSERT_ALWAYS( parentEvasObject && "No parent object for the scene" ); // Create surface - Any surface; - mSurface = std::unique_ptr< RenderSurfaceInterface >( CreateNativeSurface( SurfaceSize( width, height ), surface, isTranslucent ) ); + mSurface = std::unique_ptr< RenderSurfaceInterface >( CreateNativeSurface( PositionSize( 0, 0, static_cast( width ), static_cast( height ) ), isTranslucent ) ); } void Scene::Initialize( EvasPlugin* evasPlugin, bool isDefaultScene )