mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Windows bug fixes
This commit is contained in:
parent
d2090a32d8
commit
d10627a77f
13 changed files with 162 additions and 90 deletions
14
src/main.cpp
14
src/main.cpp
|
@ -474,6 +474,18 @@ public:
|
|||
dstream<<DTIME<<"Enabled full viewing range"<<std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
// Print debug stacks
|
||||
if(event.KeyInput.Key == irr::KEY_KEY_P
|
||||
&& g_game_focused)
|
||||
{
|
||||
dstream<<"-----------------------------------------"
|
||||
<<std::endl;
|
||||
dstream<<DTIME<<"Printing debug stacks:"<<std::endl;
|
||||
dstream<<"-----------------------------------------"
|
||||
<<std::endl;
|
||||
debug_stacks_print();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2213,7 +2225,7 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
dstream<<DTIME<<"Connection timed out."<<std::endl;
|
||||
}
|
||||
#if CATCH_EXCEPTIONS
|
||||
#if CATCH_UNHANDLED_EXCEPTIONS
|
||||
/*
|
||||
This is what has to be done in every thread to get suitable debug info
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue