mirror of https://github.com/axmolengine/axmol.git
ddafa42850
For example RGBA4444 is 2 bytes per pixel. A texture with width of 1 passes the previous power of 2 test, but the alignment value needs to be 2, not 4. |
||
---|---|---|
.. | ||
CCTexture2D.cpp | ||
CCTexture2D.h | ||
CCTextureAtlas.cpp | ||
CCTextureAtlas.h | ||
CCTextureCache.cpp | ||
CCTextureCache.h | ||
CCTexturePVR.cpp | ||
CCTexturePVR.h |