mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
Update the asset manager for only 16ms, not until the next asset is loaded.
https://github.com/libgdx/libgdx/wiki/Managing-your-assets#optimize-loading
This commit is contained in:
parent
05b44befcb
commit
db92cb3667
@ -75,7 +75,7 @@ public class SkeletonAssetManagerTest extends ApplicationAdapter {
|
||||
|
||||
if (skeleton == null) {
|
||||
// Not loaded yet.
|
||||
assetManager.update();
|
||||
assetManager.update(16);
|
||||
// System.out.println(assetManager.getDiagnostics());
|
||||
if (!assetManager.isFinished()) return;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user