m_pScene = Scene::create();
m_pScene->retain();
m_pLayer = Layer::create();
m_pLayer->retain();
m_pScene->addChild(m_pLayer);
Size winSize = Director::getInstance()->getWinSize();
RenderTexture *pBackground = RenderTexture::create(winSize.width, winSize.height);
pBackground->clear(c4B(Color4B::YELLOW));
pBackground->setAnchorPoint(Vec2::ZERO);
m_pLayer->addChild(pBackground);
Director::getInstance()->runWithScene(m_pScene);
这段代码有问题吗,为什么我的黄色方块显示在左下方而不是中间,我已经查了isIgnoreAnchorPointForPosition是false,求解