[Tizen] Fix the code using CreateNativeSurface() 46/238146/2
authorDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 23 Jun 2020 07:21:57 +0000 (16:21 +0900)
committerDaekwang Ryu <dkdk.ryu@samsung.com>
Thu, 9 Jul 2020 02:34:13 +0000 (11:34 +0900)
The number of parameters of CreateNativeSurface() was changed.

Change-Id: Ie2c4183df5adfede44e6bfcca03e3f27f4077207

dali-extension/internal/evas-plugin/scene-impl.cpp

index 59cb6cd..34822eb 100644 (file)
@@ -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<int>( width ), static_cast<int>( height ) ), isTranslucent ) );
+  Any surface;
+  mSurface = std::unique_ptr< RenderSurfaceInterface >( CreateNativeSurface( SurfaceSize( width, height ), surface, isTranslucent ) );
 }
 
 void Scene::Initialize( EvasPlugin* evasPlugin, bool isDefaultScene )