[SOLVED][BUG] Black box at animation

hi,

I found 1 bug at cocos2dx 2.1.5 at the devices Galaxy GT-I9000, Galaxy tab and LG9 (maybe more).
On other devices I tested on (*IOS) it is working great.
Animation is resulting in a black rectangle which resizes exactly to the “non alpha” space of the currently shown animation picture.
<pre>
std::liststd::string *moveAnimationImages = …;
CCSpriteFrame frame;
CCAnimation
animation = CCAnimation::create;
for ;
it !=moveAnimationImages.end;+it) {
frame = CCSpriteFrameCache::sharedSpriteFrameCache()>spriteFrameByName.c_str);
animation
>addSpriteFrame(frame);
}

animation~~>setDelayPerUnit;
CCAnimate animate = CCAnimate::create;
CCAction
*moveAnimationAction = CCRepeatForever::create;

CCSprite**sprite = …;
_sprite~~>runAction(_moveAnimationAction);

greets


Screenshot_2013-09-07-12-24-28.png (147.6 KB)

I think it is because of insufficient memory on your video card.

Samsung Galaxy Tab 2 10.1 GT-P5110, Android 4.1.1 should have anough memory.

Also happens on LG 9

The problem was:
I loaded the images with a plist file.
The sprite sheets had a size > 2kx2k. On some devices they could not be loaded.
With spritesheets <1kx1k all workd proper now!

greets