mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 02:06:03 +08:00
Formatting.
This commit is contained in:
parent
9fcb5007ec
commit
0bfeff771e
@ -124,7 +124,7 @@ Error SpineSkeletonFileResource::load_from_file(const String &path) {
|
|||||||
} else {
|
} else {
|
||||||
binary = FileAccess::get_file_as_array(path, &error);
|
binary = FileAccess::get_file_as_array(path, &error);
|
||||||
if (error != OK) return error;
|
if (error != OK) return error;
|
||||||
if (!checkBinary((const char*)binary.ptr(), binary.size())) return ERR_INVALID_DATA;
|
if (!checkBinary((const char *) binary.ptr(), binary.size())) return ERR_INVALID_DATA;
|
||||||
}
|
}
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -68,7 +68,7 @@ export class GLTexture extends Texture implements Disposable, Restorable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static usesMipMaps(filter: TextureFilter) {
|
static usesMipMaps (filter: TextureFilter) {
|
||||||
switch (filter) {
|
switch (filter) {
|
||||||
case TextureFilter.MipMap:
|
case TextureFilter.MipMap:
|
||||||
case TextureFilter.MipMapLinearLinear:
|
case TextureFilter.MipMapLinearLinear:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user