mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Minor fixes.
This commit is contained in:
parent
d92e68ad58
commit
eb90cbf260
@ -34,7 +34,9 @@
|
|||||||
|
|
||||||
#include <spine/AtlasAttachmentLoader.h>
|
#include <spine/AtlasAttachmentLoader.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct Cocos2dAttachmentLoader {
|
typedef struct Cocos2dAttachmentLoader {
|
||||||
spAttachmentLoader super;
|
spAttachmentLoader super;
|
||||||
@ -43,6 +45,8 @@ typedef struct Cocos2dAttachmentLoader {
|
|||||||
|
|
||||||
Cocos2dAttachmentLoader* Cocos2dAttachmentLoader_create (spAtlas* atlas);
|
Cocos2dAttachmentLoader* Cocos2dAttachmentLoader_create (spAtlas* atlas);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* SPINE_COCOS2DATTACHMENTLOADER_H_ */
|
#endif /* SPINE_COCOS2DATTACHMENTLOADER_H_ */
|
||||||
|
|||||||
@ -41,7 +41,7 @@ class SkeletonBatch {
|
|||||||
public:
|
public:
|
||||||
/* Sets the max number of vertices that can be drawn in a single frame. Best to call before getInstance is called for the
|
/* Sets the max number of vertices that can be drawn in a single frame. Best to call before getInstance is called for the
|
||||||
* first time. Default is 8192. */
|
* first time. Default is 8192. */
|
||||||
static void SkeletonBatch::setBufferSize (int vertexCount);
|
static void setBufferSize (int vertexCount);
|
||||||
|
|
||||||
static SkeletonBatch* getInstance ();
|
static SkeletonBatch* getInstance ();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user