Projects > cpp > Issues > Bug #2880

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Reloaded texture is not shown if it has the mipmap.

Bug #2880 [Closed]
dotsquid 2013-10-03 19:30 . Updated about 9 years ago

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.

dotsquid 2013-10-04 04:42

Sorry, I forgot to notice that the fix is for ver. 2.x

dotsquid 2013-10-04 04:43

[deleted]

dotsquid 2013-10-14 06:07

No response? Again? After 10 days? Seriously? WTF?

zhangbin@cocos2d-x.org 2014-03-21 06:30
  • Description updated (diff)
  • Assignee set to zhangbin@cocos2d-x.org
  • Target version set to 3.0-rc1
  • Start date deleted (2013-10-03)
zhangbin@cocos2d-x.org 2014-03-25 08:35
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:930c7df54cc22ee472e26a6d39f9b35acefe4653.

Atom PDF

Status:Closed
Start date:
Priority:High
Due date:
Assignee:zhangbin@cocos2d-x.org
% Done:

100%

Category:all
Target version:3.0-rc1