I’m using following code:
auto renderTexture = new CCRenderTexture();
renderTexture->initWithWidthAndHeight(1024, 1024, CCTexture2DPixelFormat::kCCTexture2DPixelFormat_RGBA8888);
...visit some sprites...
After executing this code I get image “image111.png” with size 1024x1024, BUT only 640x960 is filled (I use retina mode). i.e. image is cropped by the size of viewport (960x640). How can I fix this issue? Is it possible?
Sorry for awful english. Thanks.