Change ColorDepth enum name to ColorFormat 59/262059/2
authorDaekwang Ryu <dkdk.ryu@samsung.com>
Fri, 30 Jul 2021 05:55:43 +0000 (14:55 +0900)
committerDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 3 Aug 2021 07:45:28 +0000 (16:45 +0900)
Change-Id: Id24772decc4c31f0f3f71fb949c64e81f1b5fbe0

dali-csharp-binder/src/native-image-queue.cpp

index 3efe4e6..5e85ca7 100644 (file)
@@ -26,13 +26,13 @@ struct NativeImageSourceQueuePtrHandle
   Dali::NativeImageSourceQueuePtr Ptr;
 };
 
-SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_new_NativeImageQueuePtr(unsigned int width, unsigned int height, int depth)
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_new_NativeImageQueuePtr(unsigned int width, unsigned int height, int colorFormat)
 {
   void* jresult;
   NativeImageSourceQueuePtrHandle* queue = new NativeImageSourceQueuePtrHandle();
   {
     try {
-      queue->Ptr = Dali::NativeImageSourceQueue::New(width, height, (Dali::NativeImageSourceQueue::ColorDepth)depth);
+      queue->Ptr = Dali::NativeImageSourceQueue::New(width, height, (Dali::NativeImageSourceQueue::ColorFormat)colorFormat);
     }
     catch (std::out_of_range & e) {
       {