This commit is contained in:
Бранимир Караџић 2020-12-16 13:50:47 -08:00
parent 600c7798fd
commit 263415b887
2 changed files with 4 additions and 4 deletions

View File

@ -197,8 +197,8 @@ namespace entry
, 0
);
const char* const argv[1] = { "android.so" };
m_mte.m_argc = 1;
static const char* const argv[] = { "android.so" };
m_mte.m_argc = BX_COUNTOF(argv);
m_mte.m_argv = argv;
while (0 == m_app->destroyRequested)

View File

@ -38,8 +38,8 @@ namespace entry
{
Context(uint32_t _width, uint32_t _height)
{
const char* const argv[1] = { "ios" };
m_mte.m_argc = 1;
static const char* const argv[] = { "ios" };
m_mte.m_argc = BX_COUNTOF(argv);
m_mte.m_argv = argv;
m_eventQueue.postSizeEvent(s_defaultWindow, _width, _height);