mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 23:34:53 +08:00
Merge branch '4.0' into 4.1-beta
This commit is contained in:
commit
6ccf584466
@ -161,8 +161,7 @@ static void _addToUpdateCache(_spSkeleton *const internal, _spUpdateType type, v
|
||||
_spUpdate *update;
|
||||
if (internal->updateCacheCount == internal->updateCacheCapacity) {
|
||||
internal->updateCacheCapacity *= 2;
|
||||
internal->updateCache = (_spUpdate *) realloc(internal->updateCache,
|
||||
sizeof(_spUpdate) * internal->updateCacheCapacity);
|
||||
internal->updateCache = (_spUpdate *) REALLOC(internal->updateCache, _spUpdate, internal->updateCacheCapacity);
|
||||
}
|
||||
update = internal->updateCache + internal->updateCacheCount;
|
||||
update->type = type;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user