Update example to show atlas is passed.

This commit is contained in:
NathanSweet 2013-12-05 11:13:06 +01:00
parent dff7b5ee77
commit 53a5f1afe3

View File

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