Merge "Fix compile error in MS-Windows." into devel/master
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 22 Jul 2020 10:28:23 +0000 (10:28 +0000)
committerGerrit Code Review <gerrit@review>
Wed, 22 Jul 2020 10:28:23 +0000 (10:28 +0000)
dali/internal/adaptor/common/adaptor-impl.cpp
dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.cpp

index 12008ab..b43c376 100644 (file)
@@ -389,7 +389,6 @@ void Adaptor::Start()
   else
   {
     unsigned int maxTextureSize = mConfigurationManager->GetMaxTextureSize();
-    setenv( DALI_ENV_MAX_TEXTURE_SIZE, std::to_string( maxTextureSize ).c_str(), 1 );
     Dali::TizenPlatform::ImageLoader::SetMaxTextureSize( maxTextureSize );
   }
 
index d5b5869..7ade18f 100644 (file)
@@ -80,8 +80,6 @@ NativeRenderSurfaceEcoreWl::NativeRenderSurfaceEcoreWl( SurfaceSize surfaceSize,
     DALI_ASSERT_ALWAYS( ( surface.GetType() == typeid (tbm_surface_queue_h) ) && "Surface type is invalid" );
     mTbmQueue = AnyCast< tbm_surface_queue_h >( surface );
   }
-
-  setenv( "EGL_PLATFORM", "tbm", 1 );
 }
 
 NativeRenderSurfaceEcoreWl::~NativeRenderSurfaceEcoreWl()
@@ -155,7 +153,6 @@ void NativeRenderSurfaceEcoreWl::GetDpi( unsigned int& dpiHorizontal, unsigned i
 void NativeRenderSurfaceEcoreWl::InitializeGraphics()
 {
   DALI_LOG_TRACE_METHOD( gNativeSurfaceLogFilter );
-  unsetenv( "EGL_PLATFORM" );
 
   mGraphics = &mAdaptor->GetGraphicsInterface();
   auto eglGraphics = static_cast<Internal::Adaptor::EglGraphics *>(mGraphics);