I convert the image into texture in a thread using the following line of code to reduce the image to texture converting time.
[[CCTextureCache sharedTextureCache] addImage:@"imageName"];
But when i retrieve this image from cache i am getting a blank image. If i am calling the above line of code in main thread i am getting the image.