fix crash in NewEventDispatcherTest.cpp on vs

This commit is contained in:
Dhilan007 2014-01-06 18:00:52 +08:00
parent 5786c8aa41
commit 8e3eb8580f
1 changed files with 4 additions and 0 deletions

View File

@ -753,6 +753,10 @@ void DirectorEventTest::onEnter()
{
EventDispatcherTestDemo::onEnter();
_count1 = 0;
_count2 = 0;
_count3 = 0;
_count4 = 0;
Size s = Director::getInstance()->getWinSize();
_label1 = Label::createWithTTF("Update: 0", "fonts/arial.ttf", 20);