Merge pull request 'master' (#1) from Mirrorlandia_minetest/irrlicht:master into master

Reviewed-on: #1
This commit is contained in:
Bruno Rybársky 2023-12-09 21:38:19 +01:00
commit 68b1bee6df
2 changed files with 3 additions and 3 deletions

@ -195,8 +195,8 @@ jobs:
name: VS 2019 ${{ matrix.config.arch }} ${{ matrix.sdl.label }}
runs-on: windows-2019
env:
VCPKG_VERSION: 14e7bb4ae24616ec54ff6b2f6ef4e8659434ea44
# 2022.05.10
VCPKG_VERSION: 8eb57355a4ffb410a2e94c07b4dca2dffbee8e50
# 2023.10.19
vcpkg_packages: zlib libpng libjpeg-turbo opengl-registry
strategy:
fail-fast: false

@ -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);