解决方法:
将glview->setDesignResolutionSize(1920,1080,ResolutionPolicy::FIXED_WIDTH);放在if外面;
如图所示:
原文链接:https://www.f2er.com/cocos2dx/340500.html
解决方法:
将glview->setDesignResolutionSize(1920,1080,ResolutionPolicy::FIXED_WIDTH);放在if外面;
如图所示:
原文链接:https://www.f2er.com/cocos2dx/340500.html