Преглед изворни кода

Changes for libgdx Batch refactoring.

NathanSweet пре 11 година
родитељ
комит
57c94b51d7
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      spine-libgdx/src/com/esotericsoftware/spine/SkeletonRenderer.java

+ 2 - 2
spine-libgdx/src/com/esotericsoftware/spine/SkeletonRenderer.java

@@ -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);