[Tizen] Fix the code using CreateNativeSurface() accepted/tizen/unified/20200715.002047 submit/tizen/20200714.093003
authorSeungho, Baek <sbsh.baek@samsung.com>
Tue, 14 Jul 2020 08:57:51 +0000 (17:57 +0900)
committerSeungho, Baek <sbsh.baek@samsung.com>
Tue, 14 Jul 2020 08:57:59 +0000 (17:57 +0900)
This reverts commit df766b313c4db442e9e92f272714a262b6b03302.

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

index b8a5425..21aae62 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 )