SmartSetDebug overload will now control debug in opengl and dx modes.