Fix compilation with optimization for fixed MRI
This commit is contained in:
parent
35c19792f8
commit
01cf9243cf
2 changed files with 3 additions and 16 deletions
|
@ -139,15 +139,6 @@ void EventThread::process(RGSSThreadData &rtData)
|
|||
}
|
||||
while (SDL_PollEvent(&event))
|
||||
{
|
||||
#ifdef __EMSCRIPTEN__
|
||||
emscripten_sleep(10);
|
||||
#endif
|
||||
// if (!SDL_WaitEvent(&event))
|
||||
// {
|
||||
// Debug() << "EventThread: Event error";
|
||||
// break;
|
||||
// }
|
||||
|
||||
if (sMenu && sMenu->onEvent(event))
|
||||
{
|
||||
if (sMenu->destroyReq())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue