Fixed atlas rendererObject not being set.

This commit is contained in:
NathanSweet 2014-05-05 21:23:52 +02:00
parent bdc78db207
commit 4346db1f31

View File

@ -179,6 +179,7 @@ spAtlas* spAtlas_create (const char* begin, int length, const char* dir, void* r
int needsSlash = dirLength > 0 && dir[dirLength - 1] != '/' && dir[dirLength - 1] != '\\';
spAtlas* self = NEW(spAtlas);
self->rendererObject = rendererObject;
spAtlasPage *page = 0;
spAtlasPage *lastPage = 0;