diff options
Diffstat (limited to 'src/video/null_v.cpp')
-rw-r--r-- | src/video/null_v.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video/null_v.cpp b/src/video/null_v.cpp index 6b4aa1c66..6fdb87648 100644 --- a/src/video/null_v.cpp +++ b/src/video/null_v.cpp @@ -19,6 +19,11 @@ static FVideoDriver_Null iFVideoDriver_Null; const char *VideoDriver_Null::Start(const char * const *parm) { +#ifdef _MSC_VER + /* Disable the MSVC assertion message box. */ + _set_error_mode(_OUT_TO_STDERR); +#endif + this->ticks = GetDriverParamInt(parm, "ticks", 1000); _screen.width = _screen.pitch = _cur_resolution.width; _screen.height = _cur_resolution.height; |