ImaginaryHuman #1 SetGraphicsDriver wont return any error but it will fail to set the driver if there is some problem, throwing an exception, so you might as well trap it to be on the safe side.