From 118b1e7809d06d55af4d2246614fcb6208919a5f Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Thu, 3 Jun 2021 13:12:50 +0900 Subject: [PATCH] [Tizen] Revert "Destroy egl to avoid memory issue" This reverts commit 66a86e533a72c5f3cc83b0d82f88070827167b8d. Change-Id: Ibabfd81a9702b5121de4f857d42537a671d4bdae --- dali/internal/imaging/tizen/native-image-source-impl-tizen.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/dali/internal/imaging/tizen/native-image-source-impl-tizen.cpp b/dali/internal/imaging/tizen/native-image-source-impl-tizen.cpp index bbc14a7..e98ddae 100644 --- a/dali/internal/imaging/tizen/native-image-source-impl-tizen.cpp +++ b/dali/internal/imaging/tizen/native-image-source-impl-tizen.cpp @@ -418,9 +418,6 @@ bool NativeImageSourceTizen::CreateResource() mEglImageExtensions = mEglGraphics->GetImageExtensions(); DALI_ASSERT_DEBUG(mEglImageExtensions); - // if resource of egl was not destroyed, destroy it first - DestroyResource(); - mEglImageKHR = mEglImageExtensions->CreateImageKHR(eglBuffer); return mEglImageKHR != NULL; -- 2.7.4