Revert "[3.0] Set EGL_PLATFORM env. for native render surface" 51/97651/1
authordongsug.song <dongsug.song@samsung.com>
Tue, 15 Nov 2016 00:13:23 +0000 (09:13 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Tue, 15 Nov 2016 00:13:26 +0000 (09:13 +0900)
This reverts commit 896555d29a83a117a2ced27a1d2ea8874f4ae5e6.

Change-Id: I6e4bd7de1648778bda34255b8b6cfd7aaa63540e

adaptors/tizen/native-render-surface-tizen.cpp

index a205f2eb1d90da7e8f11d9b1f04c033bfc35ec33..7f1b1a7ba94d272ecc27b4b70600e57830ee8be1 100644 (file)
@@ -74,7 +74,6 @@ NativeRenderSurface::NativeRenderSurface(Dali::PositionSize positionSize,
 {
   ecore_wl_init(NULL);
   CreateNativeRenderable();
-  setenv( "EGL_PLATFORM", "tbm", 1 );
 }
 
 NativeRenderSurface::~NativeRenderSurface()
@@ -120,7 +119,6 @@ Any NativeRenderSurface::GetSurface()
 void NativeRenderSurface::InitializeEgl( EglInterface& egl )
 {
   DALI_LOG_TRACE_METHOD( gRenderSurfaceLogFilter );
-  unsetenv( "EGL_PLATFORM" );
 
   Internal::Adaptor::EglImplementation& eglImpl = static_cast<Internal::Adaptor::EglImplementation&>( egl );