Filled in Win32 assert stubs.

This commit is contained in:
casey langen 2020-10-24 12:58:02 -07:00
parent 46e3d5846a
commit 47739cb322

View File

@ -70,7 +70,8 @@ static std::shared_ptr<INavigationKeys> keys;
#if DEBUG
#define ASSERT_MAIN_THREAD()
#else
/* CAL TODO */
static DWORD mainThreadId = GetCurrentThreadId();
#define ASSERT_MAIN_THREAD() assert(GetCurrentThreadId() == mainThreadId);
#endif
#endif