From 74fc8aa4e8d3c1014057d7f20ba85f84c1f4a53a Mon Sep 17 00:00:00 2001 From: "Seungho, Baek" Date: Tue, 14 Jul 2020 17:57:51 +0900 Subject: [PATCH] [Tizen] Fix the code using CreateNativeSurface() This reverts commit df766b313c4db442e9e92f272714a262b6b03302. --- dali-extension/internal/evas-plugin/scene-impl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ) -- 2.7.4