Merge "Make we load rive resource from const uint8_t*, instead of uint8_t*" into...
authorjoogab yun <joogab.yun@samsung.com>
Tue, 20 Aug 2024 23:44:52 +0000 (23:44 +0000)
committerGerrit Code Review <gerrit@review>
Tue, 20 Aug 2024 23:44:52 +0000 (23:44 +0000)
1  2 
src/rive_tizen.cpp

index 0a4e54502b22e8324dcac7d19814775d801bf0ac,0fba5659114a14e2a3c912d9b8320e393a277c60..187417d2c9f2b73d50ce935d4067386a4bb3e780
@@@ -101,10 -102,9 +101,10 @@@ void RiveTizen::animationApply(rive::Li
        return;
     }
     animation->time(elapsed);
 +   animation->apply();
  }
  
- bool RiveTizen::loadRiveResource(uint8_t *bytes, size_t size)
+ bool RiveTizen::loadRiveResource(const uint8_t *bytes, size_t size)
  {
     mFile = nullptr;
     mArtboardInstance = nullptr;