Browse Source

Fixed atlas rendererObject not being set.

NathanSweet 11 years ago
parent
commit
4346db1f31
1 changed files with 1 additions and 0 deletions
  1. 1 0
      spine-c/src/spine/Atlas.c

+ 1 - 0
spine-c/src/spine/Atlas.c

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