smilertoo #1 setting the graphics mode deletes all graphics and meshes, this is normal directx behaviour.