Эх сурвалжийг харах

Update example to show atlas is passed.

NathanSweet 11 жил өмнө
parent
commit
53a5f1afe3

+ 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,