mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[c] Formatting.
This commit is contained in:
parent
86240facfb
commit
de52f2a9e3
@ -99,11 +99,11 @@ spAtlasPage *spAtlasPage_create(spAtlas *atlas, const char *name) {
|
|||||||
spAtlasPage *self = NEW(spAtlasPage);
|
spAtlasPage *self = NEW(spAtlasPage);
|
||||||
CONST_CAST(spAtlas *, self->atlas) = atlas;
|
CONST_CAST(spAtlas *, self->atlas) = atlas;
|
||||||
MALLOC_STR(self->name, name);
|
MALLOC_STR(self->name, name);
|
||||||
self->minFilter = SP_ATLAS_NEAREST;
|
self->minFilter = SP_ATLAS_NEAREST;
|
||||||
self->magFilter = SP_ATLAS_NEAREST;
|
self->magFilter = SP_ATLAS_NEAREST;
|
||||||
self->format = SP_ATLAS_RGBA8888;
|
self->format = SP_ATLAS_RGBA8888;
|
||||||
self->uWrap = SP_ATLAS_CLAMPTOEDGE;
|
self->uWrap = SP_ATLAS_CLAMPTOEDGE;
|
||||||
self->vWrap = SP_ATLAS_CLAMPTOEDGE;
|
self->vWrap = SP_ATLAS_CLAMPTOEDGE;
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user