mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
Merge branch '4.2-beta' of https://github.com/esotericsoftware/spine-runtimes into 4.2-beta
This commit is contained in:
commit
924a3483df
@ -115,7 +115,7 @@ void SkeletonDrawable::draw(SDL_Renderer *renderer) {
|
||||
|
||||
worldVertices.setSize(mesh->getWorldVerticesLength(), 0);
|
||||
mesh->computeWorldVertices(slot, 0, mesh->getWorldVerticesLength(), worldVertices.buffer(), 0, 2);
|
||||
texture = (SDL_Texture *) ((AtlasRegion *) mesh->getRendererObject())->page->getRendererObject();
|
||||
texture = (SDL_Texture *) mesh->getRegion()->rendererObject;
|
||||
verticesCount = mesh->getWorldVerticesLength() >> 1;
|
||||
uvs = &mesh->getUVs();
|
||||
indices = &mesh->getTriangles();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user