Revert "[Tizen] Fix the code using CreateNativeSurface()"
authorDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 21 Jul 2020 06:49:52 +0000 (15:49 +0900)
committerDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 21 Jul 2020 06:49:52 +0000 (15:49 +0900)
This reverts commit 74fc8aa4e8d3c1014057d7f20ba85f84c1f4a53a.

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

index 21aae62..b8a5425 100644 (file)
@@ -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<int>( width ), static_cast<int>( height ) ), isTranslucent ) );
 }
 
 void Scene::Initialize( EvasPlugin* evasPlugin, bool isDefaultScene )