Fix the code using CreateNativeSurface() 02/236902/3
authorDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 23 Jun 2020 07:21:57 +0000 (16:21 +0900)
committerDaekwang Ryu <dkdk.ryu@samsung.com>
Mon, 13 Jul 2020 09:14:33 +0000 (09:14 +0000)
The number of parameters of CreateNativeSurface() was changed.

Change-Id: I1cef4a00f4ce1a3d3cc8d81a59724a6bac4dd371

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

index 37cbb6d..3a14a8f 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 )