Skip to content

Commit

Permalink
Merge pull request cocos2d#14018 from natural-law/v3
Browse files Browse the repository at this point in the history
Solve the crash of performance-tests on windows.
  • Loading branch information
pandamicro committed Sep 27, 2015
2 parents a43f56e + 6697cad commit 17c78ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ PerformceParticleTests::PerformceParticleTests()
// ParticleMainScene
//
////////////////////////////////////////////////////////
ParticleMainScene::ParticleMainScene()
: particleSize(4)
{

}

bool ParticleMainScene::init()
{
if (TestCase::init())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ DEFINE_TEST_SUITE(PerformceParticleTests);
class ParticleMainScene : public TestCase
{
public:
ParticleMainScene();
virtual bool init() override;
virtual void initWithSubTest(int subtest, int particles);

Expand Down

0 comments on commit 17c78ad

Please sign in to comment.