Skip to content

Commit

Permalink
Update deprecated AlooperAll call to AlooperOnce
Browse files Browse the repository at this point in the history
  • Loading branch information
1runeberg committed Aug 17, 2024
1 parent ec1629a commit 257f750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ namespace xrlib

int nEvents;
struct android_poll_source *androidPollSource;
if ( ALooper_pollAll( nTimeout, nullptr, &nEvents, (void **) &androidPollSource ) < 0 )
if ( ALooper_pollOnce( nTimeout, nullptr, &nEvents, (void **) &androidPollSource ) < 0 )
{
break;
}
Expand Down

0 comments on commit 257f750

Please sign in to comment.