mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[cocos2d-objc] Fixed two color tinting plus clipping.
This commit is contained in:
parent
14d3d49ac4
commit
70e526d361
@ -308,7 +308,7 @@ static bool handlerQueued = false;
|
||||
spVertex* verts = &meshPart.mesh->vertices[meshPart.startVertex];
|
||||
unsigned short* indices = &meshPart.mesh->indices[meshPart.startIndex];
|
||||
|
||||
for (int i = 0; i * 2 < verticesCount; i++, vertices++) {
|
||||
for (int i = 0; i * 2 < verticesCount; i++, verts++) {
|
||||
CCVertex vertex;
|
||||
vertex.position = GLKVector4Make(vertices[i * 2], vertices[i * 2 + 1], 0.0, 1.0);
|
||||
vertex = CCVertexApplyTransform(vertex, transform);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user