add DBCCFactory::destroyInstance()
fix replaceSlot can not use blendMode
fix leak memory
get global position for lua
fix black block after call TextureCache::removeUnusedTextures