Parcourir la source

Merge pull request #158 from agmcleod/master

changed texture loaded to pass the current context.
Nathan Sweet il y a 12 ans
Parent
commit
e2a0e63cf0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      spine-js/spine.js

+ 1 - 1
spine-js/spine.js

@@ -1451,7 +1451,7 @@ spine.Atlas = function (atlasText, textureLoader) {
 			else if (direction == "xy")
 				page.uWrap = page.vWrap = spine.Atlas.TextureWrap.repeat;
 
-			textureLoader.load(page, line);
+			textureLoader.load(page, line, this);
 
 			this.pages.push(page);