Exact fit doesn't exactly fit

Exact fit doesn't exactly fit
0.0 0


So I have the following:
CCSize designSize = CCSize(2048, 1536);
CCEGLView::sharedOpenGLView()->setDesignResolutionSize(designSize.width, designSize.height, kResolutionExactFit);


And I’m using a 2048x1536 image, on a 800x400 screen, yet I’m seeing it cropped. Why?!


Hello noatom,

  1. Are you on iOS or mighty Windows?
  2. Which version of Cocos2D-X are you using?
  3. Can you make a screenshot?

From looking at your code quickly, i would say this part is missing:

 CCEGLView* eglView = CCEGLView::sharedOpenGLView();
 eglView->setFrameSize(2048, 1536);