cleaning up mistakes

This commit is contained in:
Anuken
2020-06-11 13:42:22 -04:00
parent 732769524c
commit e247b092dc
9 changed files with 662 additions and 674 deletions

View File

@@ -48,9 +48,7 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform
return (Float.isNaN(result) || Float.isInfinite(result)) ? 1f : Mathf.clamp(result, 0.0001f, 60f / 10f);
});
batch = new SortedSpriteDelegate(Vars.useArrayTextures ?
new ArrayTextureSpriteBatch() :
new SpriteBatch());
batch = new SortedSpriteBatch();
assets = new AssetManager();
assets.setLoader(Texture.class, "." + mapExtension, new MapPreviewLoader());

View File

@@ -39,7 +39,7 @@ public class Vars implements Loadable{
/** Maximum schematic size.*/
public static final int maxSchematicSize = 32;
/** Whether to use array texture batches. */
public static boolean useArrayTextures = true;
public static boolean useArrayTextures = false;
/** All schematic base64 starts with this string.*/
public static final String schematicBaseStart ="bXNjaAB";
/** IO buffer size. */