enable console for winrt

This commit is contained in:
Dale Stammen 2014-10-23 07:01:04 -07:00
parent 753bc5034a
commit 00f9e888d2
1 changed files with 2 additions and 4 deletions

View File

@ -155,9 +155,8 @@ bool Director::init(void)
_renderer = new (std::nothrow) Renderer; _renderer = new (std::nothrow) Renderer;
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WINRT)
_console = new (std::nothrow) Console; _console = new (std::nothrow) Console;
#endif
return true; return true;
} }
@ -181,9 +180,8 @@ Director::~Director(void)
delete _renderer; delete _renderer;
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WINRT)
delete _console; delete _console;
#endif
CC_SAFE_RELEASE(_eventDispatcher); CC_SAFE_RELEASE(_eventDispatcher);