Sprite debug draw is invalid in 0.12?


Hi all
I’ve tried to turn on the sprite debug draw by setting CC_SPRITE_DEBUG_DRAW to 1, but nothing happened while debugging.
Is it a bug or is there an another way to draw the bounding boxes of sprites while debugging?


There’s a long time I haven’t open CC_SPRITE_DEBUG_DRAW switcher.
I just test it in gles20 branch, it works correctly.
Please check the source code surrounded in CC_SPRITE_DEBUG_DRAW marco is active, they’re in CCSprite.cpp