replace __debugbreak with assert, fix full build
This commit is contained in:
1 parent
6faa481013
commit
e4883d87fc
60 files changed
+105
-120
No files matched your search
@@ -237,7 +237,7 @@ Icon* TextureMap::registerIcon(const std::wstring& name) {
|
||||
if (name.empty()) {
|
||||
Log::info("Don't register nullptr\n");
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
__debugbreak();
|
||||
assert(0);
|
||||
#endif
|
||||
// new RuntimeException("Don't register null!").printStackTrace();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user