mirror of https://github.com/bkaradzic/bgfx
Merge branch 'master' of cane:bkaradzic/bgfx
This commit is contained in:
commit
0670b98700
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue