Cocos2dx 3.9 Device Size Error

Hi,

We are trying to disable the multi resolution support with setDesignResolutionSize in cocos2dx 3.9 because we are allready scaling our resources by code. We have deleted the glview->setDesignResolutionSize and the director->setContentScaleFactor in the AppDelegate but the frame size is still erroneous.
With the iphone 6s emulator, in version 3.6 we got a VisibleSize of 1334x750 but now, after upgrading to version 3.9, we are getting a size of 960x640. How can we get the same behaviour as in prior version (3.6) to handle resolution support programmatically?

Thanks.

Take a look in AppDelegate.cpp, this 960x640 value is hardcoded when the OpenGL view is created. I am not sure why they did this. I plan to fix it and provide a better new project experience with current best practice.

replace this:

glview = GLViewImpl::createWithRect("<Your App Name>", Rect(0, 0, 960, 640));

with:

glview = GLViewImpl::create("<Your App Name>");