close
PicObject* tmpobj = NULL;
const int size = vPic.size();
int i;
for (i = 0;i < size;i++)
{
if (vPic[i].pobj.id == ID)
{
tmpobj = &(vPic[i].pobj);
printf("vPic[i]:%d tmpobj:%d ID:%d\n", vPic[i].pobj.id, tmpobj->id, ID);
vPic.erase(vPic.begin()+i);
break;
}
}
if (NULL != tmpobj)
{
m_FlatRenderDx9.DelPicObject(tmpobj);
}
全站熱搜
留言列表