mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[c] fix heap corruption while using RGB2Timeline entities (#2857)
This commit is contained in:
parent
0229260ecc
commit
cf041d5c38
@ -1491,7 +1491,7 @@ void spRGBA2Timeline_setFrame(spRGBA2Timeline *self, int frame, float time, floa
|
|||||||
|
|
||||||
/**/
|
/**/
|
||||||
|
|
||||||
static const int RGB2_ENTRIES = 7, COLOR2_R2 = 5, COLOR2_G2 = 6, COLOR2_B2 = 7;
|
static const int RGB2_ENTRIES = 7, COLOR2_R2 = 4, COLOR2_G2 = 5, COLOR2_B2 = 6;
|
||||||
|
|
||||||
void _spRGB2Timeline_apply(spTimeline *timeline, spSkeleton *skeleton, float lastTime, float time, spEvent **firedEvents,
|
void _spRGB2Timeline_apply(spTimeline *timeline, spSkeleton *skeleton, float lastTime, float time, spEvent **firedEvents,
|
||||||
int *eventsCount, float alpha, spMixBlend blend, spMixDirection direction) {
|
int *eventsCount, float alpha, spMixBlend blend, spMixDirection direction) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user