Fork: D3D Init rework.