mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
SW: Add debug_break() to _Assert()
git-svn-id: https://svn.eduke32.com/eduke32@8335 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8df8fc436a
commit
1cac2c76c6
1 changed files with 4 additions and 2 deletions
|
@ -2657,9 +2657,11 @@ void Control()
|
|||
|
||||
void _Assert(const char *expr, const char *strFile, unsigned uLine)
|
||||
{
|
||||
sprintf(ds, "Assertion failed: %s %s, line %u", expr, strFile, uLine);
|
||||
MONO_PRINT(ds);
|
||||
buildprintf(ds, "Assertion failed: %s %s, line %u", expr, strFile, uLine);
|
||||
debug_break();
|
||||
|
||||
TerminateGame();
|
||||
|
||||
#if 1 //def RENDERTYPEWIN
|
||||
wm_msgbox(apptitle, "%s", ds);
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue