RagePhoto: update ragephoto_setphotodata function
- RagePhotoTypedefs: add saveSize function
This commit is contained in:
parent
b2e765c2af
commit
659feb0cbf
3 changed files with 8 additions and 3 deletions
|
@ -1244,9 +1244,9 @@ void ragephoto_setbufferoffsets(ragephoto_t instance)
|
|||
ragePhoto->setBufferOffsets();
|
||||
}
|
||||
|
||||
ragephoto_bool_t ragephoto_setphotodata(ragephoto_t *instance, RagePhotoData *ragePhotoData)
|
||||
ragephoto_bool_t ragephoto_setphotodata(ragephoto_t instance, RagePhotoData *ragePhotoData)
|
||||
{
|
||||
RagePhoto *ragePhoto = static_cast<RagePhoto*>(*instance);
|
||||
RagePhoto *ragePhoto = static_cast<RagePhoto*>(instance);
|
||||
return ragePhoto->setData(ragePhotoData, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue