Mercurial > mm7
comparison ErrorHandling.h @ 2462:1d04e48651d4
Render split into interface and realization, added Direct3D 11
author | a.parshin |
---|---|
date | Tue, 12 Aug 2014 21:34:18 +0300 |
parents | d6887ee81068 |
children |
comparison
equal
deleted
inserted
replaced
2461:ff7f4995aa25 | 2462:1d04e48651d4 |
---|---|
26 extern void MsgBox(const wchar_t *, const wchar_t *); | 26 extern void MsgBox(const wchar_t *, const wchar_t *); |
27 MsgBox(msg, L"Error"); | 27 MsgBox(msg, L"Error"); |
28 } | 28 } |
29 va_end(va); | 29 va_end(va); |
30 | 30 |
31 __debugbreak(); | 31 #ifndef NODEBUG |
32 __debugbreak(); | |
33 #endif | |
34 exit(0); | |
32 } | 35 } |
33 | 36 |
34 | 37 |
35 inline void Assert_impl_(const char *filename, const char *functionname, int line, | 38 inline void Assert_impl_(const char *filename, const char *functionname, int line, |
36 bool condition, const char *condition_string, const char *format = nullptr, ...) | 39 bool condition, const char *condition_string, const char *format = nullptr, ...) |