mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-09 08:28:25 +00:00
Replace MSVC __debugbreak with cross-compiler DEBUG_BREAK macro. (#1540)
This commit is contained in:
@@ -214,7 +214,7 @@ Icon *TextureMap::registerIcon(const wstring &name)
|
||||
{
|
||||
app.DebugPrintf("Don't register nullptr\n");
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
__debugbreak();
|
||||
DEBUG_BREAK();
|
||||
#endif
|
||||
//new RuntimeException("Don't register null!").printStackTrace();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user