mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Merge branch 'master' of cane:bkaradzic/bgfx
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user