Browse Source

Fixed atlas rendererObject not being set.

NathanSweet 11 năm trước cách đây
mục cha
commit
4346db1f31
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;