瀏覽代碼

Update example to show atlas is passed.

NathanSweet 11 年之前
父節點
當前提交
53a5f1afe3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      spine-js/turbulenz/index.html

+ 1 - 1
spine-js/turbulenz/index.html

@@ -37,7 +37,7 @@ var atlas;
 function loadAtlas (atlasText) {
 	var textureCount = 0;
 	atlas = new spine.Atlas(atlasText, {
-		load: function (page, path) {
+		load: function (page, path, atlas) {
 			textureCount++;
 			graphicsDevice.createTexture({
 				src: "../data/" + path,