StopD3D()

Finish 3d engine, normally is executed after draw last d3d sprite.