mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Cleanup.
This commit is contained in:
@@ -555,11 +555,13 @@ namespace entry
|
||||
BX_UNUSED(_thread);
|
||||
|
||||
int32_t result = chdir("/sdcard/bgfx/examples/runtime");
|
||||
BX_ASSERT(0 == result, "Failed to chdir to dir. android.permission.WRITE_EXTERNAL_STORAGE?", errno);
|
||||
BX_ASSERT(0 == result
|
||||
, "Failed to chdir to directory (errno: %d, android.permission.WRITE_EXTERNAL_STORAGE?)."
|
||||
, errno
|
||||
);
|
||||
|
||||
MainThreadEntry* self = (MainThreadEntry*)_userData;
|
||||
result = main(self->m_argc, self->m_argv);
|
||||
// PostMessage(s_ctx.m_hwnd, WM_QUIT, 0, 0);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user