Update NDK version
This commit is contained in:
committed by
Guillaume Meunier
parent
fe1adc5d99
commit
09cc459caf
+1
-1
@@ -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"
|
||||||
|
|||||||
@@ -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
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user