D3D is directly related to DirectX. I would check the files and reinstall DirectX. Either the file for running the game was deleted, missing, or corrupted and usually reinstalling it will repair and restore it to resolve the issue.