check for WP8_SHADER_COMPILER

This commit is contained in:
Dale Stammen 2014-10-14 14:16:52 -07:00
parent fbc25a055c
commit e0157f7471
1 changed files with 3 additions and 0 deletions

View File

@ -122,8 +122,11 @@ void Device::setAccelerometerEnabled(bool isEnabled)
break; break;
} }
#endif #endif
#ifndef WP8_SHADER_COMPILER
std::shared_ptr<cocos2d::InputEvent> event(new AccelerometerEvent(acc)); std::shared_ptr<cocos2d::InputEvent> event(new AccelerometerEvent(acc));
cocos2d::GLViewImpl::sharedOpenGLView()->QueueEvent(event); cocos2d::GLViewImpl::sharedOpenGLView()->QueueEvent(event);
#endif
}); });
} }
} }