From e243b6501ba5a8c2d9412d07d2206aa53d621be6 Mon Sep 17 00:00:00 2001 From: "Seungho, Baek" Date: Tue, 14 Jul 2020 17:34:28 +0900 Subject: [PATCH 1/1] [Tizen] remove setenv() that can cause Seg fault This reverts commit 7a2a3a4077e57443fb62456f2f2f713adb570f74. Change-Id: I1601cec4f613c3f8a0f5cd7e6d0b78a1c0a6ddd1 --- dali/internal/adaptor/common/adaptor-impl.cpp | 1 - .../window-system/tizen-wayland/native-render-surface-ecore-wl.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/dali/internal/adaptor/common/adaptor-impl.cpp b/dali/internal/adaptor/common/adaptor-impl.cpp index 58f9c85..1d845aa 100755 --- a/dali/internal/adaptor/common/adaptor-impl.cpp +++ b/dali/internal/adaptor/common/adaptor-impl.cpp @@ -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 ); } diff --git a/dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.cpp b/dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.cpp index 6c5b8da..066fac6 100644 --- a/dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.cpp +++ b/dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.cpp @@ -150,7 +150,6 @@ int NativeRenderSurfaceEcoreWl::GetOrientation() const void NativeRenderSurfaceEcoreWl::InitializeGraphics() { DALI_LOG_TRACE_METHOD( gNativeSurfaceLogFilter ); - unsetenv( "EGL_PLATFORM" ); mGraphics = &mAdaptor->GetGraphicsInterface(); auto eglGraphics = static_cast(mGraphics); -- 2.7.4