mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 08:38:43 +08:00
Merge branch '4.1' into 4.2-beta
This commit is contained in:
commit
5f0cb66cad
@ -99,6 +99,11 @@ spAtlasPage *spAtlasPage_create(spAtlas *atlas, const char *name) {
|
||||
spAtlasPage *self = NEW(spAtlasPage);
|
||||
CONST_CAST(spAtlas *, self->atlas) = atlas;
|
||||
MALLOC_STR(self->name, name);
|
||||
self->minFilter = SP_ATLAS_NEAREST;
|
||||
self->magFilter = SP_ATLAS_NEAREST;
|
||||
self->format = SP_ATLAS_RGBA8888;
|
||||
self->uWrap = SP_ATLAS_CLAMPTOEDGE;
|
||||
self->vWrap = SP_ATLAS_CLAMPTOEDGE;
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
@ -1097,7 +1097,7 @@ spSkeletonData *spSkeletonJson_readSkeletonData(spSkeletonJson *self, const char
|
||||
toColor(dark, 0),
|
||||
toColor(dark, 1),
|
||||
toColor(dark, 2),
|
||||
toColor(dark, 3));
|
||||
1.0f);
|
||||
}
|
||||
|
||||
item = Json_getItem(slotMap, "attachment");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user