mirror of https://github.com/bkaradzic/bgfx
Cleanup.
This commit is contained in:
parent
600c7798fd
commit
263415b887
|
@ -197,8 +197,8 @@ namespace entry
|
||||||
, 0
|
, 0
|
||||||
);
|
);
|
||||||
|
|
||||||
const char* const argv[1] = { "android.so" };
|
static const char* const argv[] = { "android.so" };
|
||||||
m_mte.m_argc = 1;
|
m_mte.m_argc = BX_COUNTOF(argv);
|
||||||
m_mte.m_argv = argv;
|
m_mte.m_argv = argv;
|
||||||
|
|
||||||
while (0 == m_app->destroyRequested)
|
while (0 == m_app->destroyRequested)
|
||||||
|
|
|
@ -38,8 +38,8 @@ namespace entry
|
||||||
{
|
{
|
||||||
Context(uint32_t _width, uint32_t _height)
|
Context(uint32_t _width, uint32_t _height)
|
||||||
{
|
{
|
||||||
const char* const argv[1] = { "ios" };
|
static const char* const argv[] = { "ios" };
|
||||||
m_mte.m_argc = 1;
|
m_mte.m_argc = BX_COUNTOF(argv);
|
||||||
m_mte.m_argv = argv;
|
m_mte.m_argv = argv;
|
||||||
|
|
||||||
m_eventQueue.postSizeEvent(s_defaultWindow, _width, _height);
|
m_eventQueue.postSizeEvent(s_defaultWindow, _width, _height);
|
||||||
|
|
Loading…
Reference in New Issue