There are lots of compile ERROR in the new spine runtime
Like this:
for (int i = 0, n = _skeleton->slotsCount; i < n; i++) {
spSlot* slot = skeleton->drawOrder;
if (!slot->attachment) continue;
Texture2D texture = nullptr;
switch (slot->attachment->type) {
case SP_ATTACHMENT_REGION: {
spRegionAttachment attachment = (spRegionAttachment*)slot->attachment;
spRegionAttachment_computeWorldVertices(attachment, slot->bone, worldVertices);
texture = getTexture(attachment);
uvs = attachment->uvs;
verticesCount = 8;
triangles = quadTriangles;
trianglesCount = 6;
r = attachment->r;
g = attachment->g;
b = attachment->b;
a = attachment->a;
break;
}
and lots of ERROR like this.
I dont know why this.
I use "spine-c" and "spine-cocos2dx",so why this?
sorry for my english