This commit is contained in:
Anuken
2020-06-11 14:09:06 -04:00
parent e247b092dc
commit 1e954dc2be
8 changed files with 15 additions and 35 deletions
+1 -6
View File
@@ -33,9 +33,6 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform
@Override
public void setup(){
//array textures are gl30 only
if(gl30 == null) useArrayTextures = false;
loader = new LoadRenderer();
Events.fire(new ClientCreateEvent());
@@ -70,9 +67,7 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform
assets.load(new AssetDescriptor<>("sprites/sprites.atlas", TextureAtlas.class)).loaded = t -> {
atlas = (TextureAtlas)t;
if(!useArrayTextures){
Fonts.mergeFontAtlas(atlas);
}
Fonts.mergeFontAtlas(atlas);
};
assets.loadRun("maps", Map.class, () -> maps.loadPreviews());