mirror of https://github.com/axmolengine/axmol.git
fix crash in NewEventDispatcherTest.cpp on vs
This commit is contained in:
parent
5786c8aa41
commit
8e3eb8580f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue