Incorrect FrameSize in cocos2d-x-3.0alpha0-pre


#1

EGLView::getInstance()->getFrameSize() always returns 2048 , 1536 as width and height irrespective of the device or simulator that i test it on.
What are the probable causes for frame size to return incorrect values ?
Please Help.
thanks