If the problem persists outside of the game, your graphics card might be failing. Look for a way to run a health check on it.