I made a thread before saying how sometimes when I play black ops 2, my monitor just disconnects from my pc and then turns black and I cant do anything and because of that I had to turn off my pc by holding the button on it. When I turn it back on and start Bo2, this comes up

Anybody knows how to fix? It gets kind of annoying cause every few hours it happens and I gotta turn off my computer.