Update NDK version

This commit is contained in:
Patrick Nicolas
2024-10-01 21:42:13 +02:00
committed by Guillaume Meunier
parent fe1adc5d99
commit 09cc459caf
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ task "generatePngs"() {
android { android {
namespace "org.meumeu.wivrn" namespace "org.meumeu.wivrn"
ndkVersion "26.1.10909125" ndkVersion "27.1.12297006"
defaultConfig { defaultConfig {
applicationId "org.meumeu.wivrn" applicationId "org.meumeu.wivrn"
+1 -1
View File
@@ -1151,7 +1151,7 @@ void application::run()
struct android_poll_source * source; struct android_poll_source * source;
// TODO signal with a file descriptor instead of a 100ms timeout // TODO signal with a file descriptor instead of a 100ms timeout
while (ALooper_pollAll(100, nullptr, &events, (void **)&source) >= 0) while (ALooper_pollOnce(100, nullptr, &events, (void **)&source) >= 0)
{ {
// Process this event. // Process this event.
if (source != nullptr) if (source != nullptr)
+1 -1
View File
@@ -97,7 +97,7 @@ void real_main()
int events; int events;
struct android_poll_source * source; struct android_poll_source * source;
while (ALooper_pollAll(100, nullptr, &events, (void **)&source) >= 0) while (ALooper_pollOnce(100, nullptr, &events, (void **)&source) >= 0)
{ {
// Process this event. // Process this event.
if (source != nullptr) if (source != nullptr)