private final ShaderProgram shader;
private Cache currentCache;
private final ArrayList<Texture> textures = new ArrayList(8);
private final ArrayList<Integer> counts = new ArrayList(8);
private float color = Color.WHITE.toFloatBits();
<BUG>private Color tempColor = new Color(1, 1, 1, 1);
public SpriteCache () {</BUG>
this(1000, false);
}
public SpriteCache (int size, boolean useIndices) {

private final ShaderProgram shader;
private Cache currentCache;
private final ArrayList<Texture> textures = new ArrayList(8);
private final ArrayList<Integer> counts = new ArrayList(8);
private float color = Color.WHITE.toFloatBits();
private Color tempColor = new Color(1, 1, 1, 1);
private ShaderProgram customShader = null;
public SpriteCache () {
this(1000, false);
}
public SpriteCache (int size, boolean useIndices) {
