From 5483d9965bd399ac98317e6dd82ef6a34022892d Mon Sep 17 00:00:00 2001 From: jmm Date: Thu, 2 Jan 2025 20:39:15 +0900 Subject: [PATCH] Apply RenderEffect API changes Change-Id: I13b86dfa636d84ac862f5c3507f09eb71dc14ee6 --- .../dali-toolkit/render-effects-wrap.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dali-csharp-binder/dali-toolkit/render-effects-wrap.cpp b/dali-csharp-binder/dali-toolkit/render-effects-wrap.cpp index 645d2799..39160f49 100644 --- a/dali-csharp-binder/dali-toolkit/render-effects-wrap.cpp +++ b/dali-csharp-binder/dali-toolkit/render-effects-wrap.cpp @@ -27,14 +27,16 @@ extern "C" { SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_BackgroundBlurEffect_New__SWIG_1(unsigned int pixelRadius) { - Dali::Toolkit::BackgroundBlurEffect blurEffect; + Dali::Toolkit::RenderEffect blurEffect; { - try { - blurEffect = Dali::Toolkit::BackgroundBlurEffect::New(0.25f, pixelRadius); - } CALL_CATCH_EXCEPTION(0); + try + { + blurEffect = Dali::Toolkit::RenderEffect::CreateBackgroundBlurEffect(0.25f, pixelRadius); + } + CALL_CATCH_EXCEPTION(0); } - return new Dali::Toolkit::BackgroundBlurEffect((const Dali::Toolkit::BackgroundBlurEffect &)blurEffect); + return new Dali::Toolkit::RenderEffect(blurEffect); } #ifdef __cplusplus -- 2.34.1