I have looked into some other threads and saw that a dxdiag copy paste may help with the issue, so I will paste that here. I have been getting this error what seems to be randomly when I am playing the game. I am not sure what the issue is and have been trying to fix this for a while. Other games I play also crash occasionally. I would very much appreciate your help. Thanks.
This is the link of the dxdiag since it was too big to put directly in this message.