Fixed SortedSpriteBatch blending while sorting
@@ -29,8 +29,12 @@ public class SortedSpriteBatch extends SpriteBatch{
@Override
protected void setBlending(Blending blending){
+ if(flushing){
+ super.setBlending(blending);
+ }else{
this.blending = blending;
}
+ }
@Override
protected void draw(Texture texture, float[] spriteVertices, int offset, int count){
