Projects > cpp > Issues > Bug #2745

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

Create Issue on Github

Texture error when after "Performance texture test" in testcpp sample

Bug #2745 [Closed]
dabingnn 2013-08-28 06:06 . Updated about 3 years ago

in test.cpp, click “Performance test” -> “Performance texture test”, texture wrap error.

Screen Shot 2013-08-28 at 下午2.05.27.png (281.2 kB) dabingnn, 2013-08-28 06:06

dabingnn 2013-09-16 07:53
  • Assignee changed from dabingnn to boyu0

Texture2D will behave wrongly when set RGBA4444,RGB565,RGB5A1 by function Texture2D::setDefaultAlphaPixelFormat. It seems texture2d class will only change its internal format, by convert a zero length data.
in CCTexture2D.cpp, line 744
The codes of class texture2d and image need to be reviewed.

boyu0 2013-09-16 12:15
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:e4e049ec464990fe53a04c09e96619bc0c996d48.

Atom PDF

Start date:2013-08-28
Due date:
% Done:


Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.