Bug #2880

By zhangbin@cocos2d-x.org Posted 2014-03-21 06:30

Steps to reproduce:

1) Load a texture from file.

2) Generate mipmap by calling CCTexture2D::generateMipmap()

3) Force textures to reload. On Android it could be locking-unlocking of the device. However, it’s easier to manually call CCTextureCache::reloadAllTextures().

4) The texture is not shown.

Tested platforms:

- Android 4.2;

- Windows 7.

The fix is in the attachment. Fix was tested on Android and Windows.