mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +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 {
|
||||
binary = FileAccess::get_file_as_array(path, &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;
|
||||
}
|
||||
|
||||
@ -68,7 +68,7 @@ export class GLTexture extends Texture implements Disposable, Restorable {
|
||||
}
|
||||
}
|
||||
|
||||
static usesMipMaps(filter: TextureFilter) {
|
||||
static usesMipMaps (filter: TextureFilter) {
|
||||
switch (filter) {
|
||||
case TextureFilter.MipMap:
|
||||
case TextureFilter.MipMapLinearLinear:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user