Skip to content

Commit

Permalink
Merge pull request #1 from 1runeberg/update-Alooper
Browse files Browse the repository at this point in the history
Update deprecated AlooperAll call to AlooperOnce
  • Loading branch information
1runeberg authored Aug 17, 2024
2 parents ec1629a + 257f750 commit e6f3695
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 e6f3695

Please sign in to comment.