forked from Mirrorlandia_minetest/irrlicht
Android: Make ALooper_pollAll call always non-blocking (#255)
This commit is contained in:
parent
b284ea076b
commit
a2884e4000
@ -106,7 +106,7 @@ bool CIrrDeviceAndroid::run()
|
||||
s32 Events = 0;
|
||||
android_poll_source* Source = 0;
|
||||
|
||||
while ((id = ALooper_pollAll(((Focused && !Paused) || !Initialized) ? 0 : -1, 0, &Events, (void**)&Source)) >= 0)
|
||||
while ((id = ALooper_pollAll(0, 0, &Events, (void**)&Source)) >= 0)
|
||||
{
|
||||
if(Source)
|
||||
Source->process(Android, Source);
|
||||
|
Loading…
Reference in New Issue
Block a user