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