mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
Merge pull request #303 from Fraggle/patch-3
Fix to avoid excessive flushing of polygon batch.
This commit is contained in:
commit
757db3f6cb
@ -125,7 +125,7 @@ internal class PolygonBatch {
|
||||
_support.applyBlendMode(true);
|
||||
}
|
||||
|
||||
if (texture != _texture) {
|
||||
if (!_texture || texture.base != _texture.base) {
|
||||
flush();
|
||||
_texture = texture;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user