mirror of https://github.com/axmolengine/axmol.git
Merge pull request #5093 from ricardoquesada/sprite_perf_test_fixes
Remove Sprites works as expected
This commit is contained in:
commit
cbaae6a4e4
|
@ -276,20 +276,18 @@ void SubTest::removeByTag(int tag)
|
|||
switch (subtestNumber)
|
||||
{
|
||||
case 1:
|
||||
case 2:
|
||||
case 5:
|
||||
case 6:
|
||||
case 9:
|
||||
case 10:
|
||||
_parent->removeChildByTag(tag+100, true);
|
||||
break;
|
||||
|
||||
case 2:
|
||||
case 3:
|
||||
case 4:
|
||||
|
||||
case 6:
|
||||
case 7:
|
||||
case 8:
|
||||
|
||||
case 10:
|
||||
case 11:
|
||||
case 12:
|
||||
_batchNode->removeChildByTag(tag+100, true);
|
||||
|
|
Loading…
Reference in New Issue