CanvasRenderer: Remove unnecessary condition 16/266116/1
authorJunsuChoi <jsuya.choi@samsung.com>
Mon, 8 Nov 2021 05:42:50 +0000 (14:42 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Mon, 8 Nov 2021 05:42:50 +0000 (14:42 +0900)
Change-Id: I043134ab226ac2d2b6de45d09427524fa5a8cdb2

dali/internal/canvas-renderer/tizen/canvas-renderer-impl-tizen.cpp

index ba9f1af..d9230c4 100644 (file)
@@ -444,7 +444,7 @@ void CanvasRendererTizen::MakeTargetBuffer(const Vector2& size)
   {
     mNativeImageQueue = Dali::NativeImageSourceQueue::New(size.width, size.height, Dali::NativeImageSourceQueue::ColorFormat::RGBA8888);
   }
-  else if(size.width != mSize.width || size.height != mSize.height)
+  else
   {
     mNativeImageQueue->SetSize(static_cast<uint32_t>(size.width), static_cast<uint32_t>(size.height));
   }