Revert "[Tizen] Fix the code using CreateNativeSurface()"
authorSeungho, Baek <sbsh.baek@samsung.com>
Tue, 14 Jul 2020 08:57:35 +0000 (17:57 +0900)
committerSeungho, Baek <sbsh.baek@samsung.com>
Tue, 14 Jul 2020 08:57:35 +0000 (17:57 +0900)
This reverts commit 98efc8cf4e0c5a654fea48a30cbabea0cab9a975.

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

index 34822eb..59cb6cd 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 )