mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 01:06:00 +08:00
[xna] Fixed multi pass rending (was not working, did nothing after first pass). Closes #1554.
This commit is contained in:
parent
839f5c3b67
commit
56e950e3a7
@ -162,6 +162,9 @@ namespace Spine {
|
||||
freeItems.Enqueue(item);
|
||||
}
|
||||
FlushVertexArray(device, vertexCount, triangleCount);
|
||||
}
|
||||
|
||||
public void AfterLastDrawPass () {
|
||||
items.Clear();
|
||||
}
|
||||
|
||||
|
||||
@ -86,6 +86,7 @@ namespace Spine {
|
||||
pass.Apply();
|
||||
batcher.Draw(device);
|
||||
}
|
||||
batcher.AfterLastDrawPass();
|
||||
}
|
||||
|
||||
public void Draw(Skeleton skeleton) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user