cleaning up mistakes
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user