It is strange to invoke `m_pTextureAtlas->updateQuad(NULL, i)`. 
Just invoke `m_bDirty = true`.