|
@@ -38,8 +38,8 @@ import com.esotericsoftware.spine.attachments.RegionAttachment;
|
|
|
|
|
|
import com.badlogic.gdx.graphics.GL11;
|
|
|
import com.badlogic.gdx.graphics.Texture;
|
|
|
+import com.badlogic.gdx.graphics.g2d.Batch;
|
|
|
import com.badlogic.gdx.graphics.g2d.PolygonSpriteBatch;
|
|
|
-import com.badlogic.gdx.graphics.g2d.SpriteBatch;
|
|
|
import com.badlogic.gdx.utils.Array;
|
|
|
|
|
|
public class SkeletonRenderer {
|
|
@@ -82,7 +82,7 @@ public class SkeletonRenderer {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public void draw (SpriteBatch batch, Skeleton skeleton) {
|
|
|
+ public void draw (Batch batch, Skeleton skeleton) {
|
|
|
boolean premultipliedAlpha = this.premultipliedAlpha;
|
|
|
int srcFunc = premultipliedAlpha ? GL11.GL_ONE : GL11.GL_SRC_ALPHA;
|
|
|
batch.setBlendFunction(srcFunc, GL11.GL_ONE_MINUS_SRC_ALPHA);
|