Bug: CCRenderTexture 0.9.2

Same code crash in 0.9.2 :frowning:

test code:


testCCRenderTexture091.7z.zip (510.2 KB)


testCCRenderTexture092.7z.zip (511.0 KB)

I replace 0.9.2 CCRenderTexture.cpp/.h to 0.9.1, error still occurs.

OK, it’s not a bug, is my problem…

void Planet::initWithSprites(CCSprite* base)
{
    init(); // must call init first
    m_ground = base;
    addChild(m_ground);
}

:stuck_out_tongue: