mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
- cleaned up the remaining dependencies on windows.h
This file now only gets included by code that really needs it.
This commit is contained in:
parent
95c906e21a
commit
a90185bea9
17 changed files with 20 additions and 265 deletions
|
@ -835,9 +835,7 @@ void I_Error(const char* error, ...)
|
|||
va_start(argptr, error);
|
||||
vsnprintf(errortext, MAX_ERRORTEXT, error, argptr);
|
||||
va_end(argptr);
|
||||
#ifdef _WIN32
|
||||
OutputDebugStringA(errortext);
|
||||
#endif
|
||||
I_DebugPrint(errortext);
|
||||
|
||||
throw std::runtime_error(errortext);
|
||||
}
|
||||
|
@ -850,9 +848,7 @@ void I_FatalError(const char* error, ...)
|
|||
va_start(argptr, error);
|
||||
vsnprintf(errortext, MAX_ERRORTEXT, error, argptr);
|
||||
va_end(argptr);
|
||||
#ifdef _WIN32
|
||||
OutputDebugStringA(errortext);
|
||||
#endif
|
||||
I_DebugPrint(errortext);
|
||||
|
||||
throw std::runtime_error(errortext);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue