Fixed build.

This commit is contained in:
Branimir Karadžić
2017-11-04 15:25:11 -07:00
parent c87144f563
commit 2d835155a9
6 changed files with 31 additions and 17 deletions
+4 -2
View File
@@ -88,7 +88,7 @@ namespace entry
int m_argc;
const char* const* m_argv;
static int32_t threadFunc(void* _userData);
static int32_t threadFunc(bx::Thread* _thread, void* _userData);
};
class FileReaderAndroid : public bx::FileReaderI
@@ -550,8 +550,10 @@ namespace entry
BX_UNUSED(_handle, _lock);
}
int32_t MainThreadEntry::threadFunc(void* _userData)
int32_t MainThreadEntry::threadFunc(bx::Thread* _thread, void* _userData)
{
BX_UNUSED(_thread);
int32_t result = chdir("/sdcard/bgfx/examples/runtime");
BX_CHECK(0 == result, "Failed to chdir to dir. android.permission.WRITE_EXTERNAL_STORAGE?", errno);