fix a logical bug in CCRenderTExture

This commit is contained in:
minggo 2012-11-22 11:06:07 +08:00
parent 7d4ca88deb
commit 14dbe091c8
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ void CCRenderTexture::visit()
{
// override visit.
// Don't call visit on its children
if (m_bVisible)
if (!m_bVisible)
{
return;
}