mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 15:41:24 +02:00
- added windows stack trace to debug.log also
This commit is contained in:
@@ -109,6 +109,7 @@ void fatal(const char *s, ...) // failure exit
|
|||||||
//puts(msg);
|
//puts(msg);
|
||||||
string sErr = string(GameConstants::application_name) + " fatal error";
|
string sErr = string(GameConstants::application_name) + " fatal error";
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugError,"%s\n",msg);
|
SystemFlags::OutputDebug(SystemFlags::debugError,"%s\n",msg);
|
||||||
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"%s\n",msg);
|
||||||
|
|
||||||
if(errors <= 1) { // avoid recursion
|
if(errors <= 1) { // avoid recursion
|
||||||
if(SDL_WasInit(SDL_INIT_VIDEO)) {
|
if(SDL_WasInit(SDL_INIT_VIDEO)) {
|
||||||
|
Reference in New Issue
Block a user