Merge pull request #158 from agmcleod/master

changed texture loaded to pass the current context.
This commit is contained in:
Nathan Sweet 2013-11-07 06:06:15 -08:00
commit e2a0e63cf0

View File

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