Hi. I’m loading a PVRTC image using CCTextureCache::sharedTextureCache()~~>addPVRTCImage
but my image appears to be broken.
but it looks ok in PVRTexTool. My image info:
~~ 1024 x 1024
- has premultiplied alpha
- PVRTC 4bpp
- no mip map
- no vertical split
My code:
@
CCTexture2D *char_idle0 = CCTextureCache::sharedTextureCache()>addPVRTCImage;>setTexture(char_idle0);
mySprite
@
Thus I’m thinking should be either my compression setting is wrong or something to do with the code.
Please help, I need PVRTC in-order to prevent my game to crash due to heavy memory usage. Thanks in advance.