Merge branch 'master' of cane:bkaradzic/bgfx

This commit is contained in:
Branimir Karadžić 2015-08-15 15:42:02 -07:00
commit 0670b98700
1 changed files with 7 additions and 0 deletions

View File

@ -9,16 +9,23 @@
#include <emscripten.h>
extern "C" void entry_emscripten_yield()
{
// emscripten_sleep(0);
}
namespace entry
{
const Event* poll()
{
entry_emscripten_yield();
return NULL;
}
const Event* poll(WindowHandle _handle)
{
BX_UNUSED(_handle);
entry_emscripten_yield();
return NULL;
}