In CCTexture2D.cpp @ line 406 the comment says “The code can not work, how to convert to A8?”.
Well, I needed alpha textures to work so I decided to take a quick look at it, but I don’t really understand why the comment is there, because there’s nothing wrong with A8 textures when you add “unsigned char*” in front of the “outPixel8” variable
(and the “pixelFormat = kCCTexture2D_PixelFormat_RGBA8888” line needs to be removed as well, of course)
So, why is it disabled?