mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Fixed atlas format and filter name parsing.
This commit is contained in:
parent
d2eac9ead8
commit
4064f0b7bc
@ -161,8 +161,8 @@ static spAtlas* abortAtlas (spAtlas* self) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char* formatNames[] = {"Alpha", "Intensity", "LuminanceAlpha", "RGB565", "RGBA4444", "RGB888", "RGBA8888"};
|
static const char* formatNames[] = {"", "Alpha", "Intensity", "LuminanceAlpha", "RGB565", "RGBA4444", "RGB888", "RGBA8888"};
|
||||||
static const char* textureFilterNames[] = {"Nearest", "Linear", "MipMap", "MipMapNearestNearest", "MipMapLinearNearest",
|
static const char* textureFilterNames[] = {"", "Nearest", "Linear", "MipMap", "MipMapNearestNearest", "MipMapLinearNearest",
|
||||||
"MipMapNearestLinear", "MipMapLinearLinear"};
|
"MipMapNearestLinear", "MipMapLinearLinear"};
|
||||||
|
|
||||||
spAtlas* spAtlas_create (const char* begin, int length, const char* dir, void* rendererObject) {
|
spAtlas* spAtlas_create (const char* begin, int length, const char* dir, void* rendererObject) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user