removed CC_PLATFORM_WP8

This commit is contained in:
Dale Stammen 2015-05-20 07:56:14 -07:00
parent aa7876aefc
commit d68f2c1c3d
1 changed files with 1 additions and 5 deletions

View File

@ -35,9 +35,7 @@
#include "platform/ios/JavaScriptObjCBridge.h"
#endif
#if(CC_TARGET_PLATFORM != CC_PLATFORM_WP8)
#include "js_Effect3D_bindings.h"
#endif
USING_NS_CC;
USING_NS_CC_EXT;
@ -65,7 +63,7 @@ bool AppDelegate::applicationDidFinishLaunching()
auto director = Director::getInstance();
auto glview = director->getOpenGLView();
if(!glview) {
#if(CC_TARGET_PLATFORM == CC_PLATFORM_WP8 || CC_TARGET_PLATFORM == CC_PLATFORM_WINRT)
#if(CC_TARGET_PLATFORM == CC_PLATFORM_WINRT)
glview = cocos2d::GLViewImpl::create("js-tests");
#else
glview = cocos2d::GLViewImpl::createWithRect("js-tests", Rect(0,0,900,640));
@ -117,9 +115,7 @@ bool AppDelegate::applicationDidFinishLaunching()
#endif
sc->addRegisterCallback(register_DrawNode3D_bindings);
#if(CC_TARGET_PLATFORM != CC_PLATFORM_WP8)
sc->addRegisterCallback(register_Effect3D_bindings);
#endif
sc->start();
sc->runScript("script/jsb_boot.js");