mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
46 lines
636 B
C++
46 lines
636 B
C++
/*
|
|
* Copyright 2011-2014 Branimir Karadzic. All rights reserved.
|
|
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
*/
|
|
|
|
#include "entry_p.h"
|
|
|
|
#if BX_PLATFORM_EMSCRIPTEN
|
|
|
|
#include <emscripten.h>
|
|
|
|
namespace entry
|
|
{
|
|
const Event* poll()
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
void release(const Event* /*_event*/)
|
|
{
|
|
}
|
|
|
|
void setWindowSize(uint32_t /*_width*/, uint32_t /*_height*/)
|
|
{
|
|
}
|
|
|
|
void setWindowTitle(const char* _title)
|
|
{
|
|
BX_UNUSED(_title);
|
|
}
|
|
|
|
void toggleWindowFrame()
|
|
{
|
|
}
|
|
|
|
void setMouseLock(bool /*_lock*/)
|
|
{
|
|
}
|
|
}
|
|
|
|
int main(int _argc, char** _argv)
|
|
{
|
|
return entry::main(_argc, _argv);
|
|
}
|
|
|
|
#endif // BX_PLATFORM_EMSCRIPTEN
|