Make legacy NativeImageSourceQueue use BGRA8888 format 24/316224/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 16 Aug 2024 05:02:58 +0000 (14:02 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 16 Aug 2024 05:02:58 +0000 (14:02 +0900)
Change-Id: I03676dfaa23e40bf717f24ed143eb78d0f5b5425
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-extension/internal/rive-animation-view/animation-renderer/rive-animation-renderer.cpp

index fd7fd92b915d372ae37209fb1163abe623d53c05..11d9aa901a068d38ac5ab658e24ccf467bbb9c5c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2024 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -217,7 +217,7 @@ void RiveAnimationRenderer::SetSize(uint32_t width, uint32_t height)
     return;
   }
 
-  mTargetSurface = NativeImageSourceQueue::New(width, height, NativeImageSourceQueue::ColorFormat::RGBA8888);
+  mTargetSurface = NativeImageSourceQueue::New(width, height, NativeImageSourceQueue::ColorFormat::BGRA8888);
 
   mTexture = Texture::New(*mTargetSurface);