summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-05-16 11:02:00 +0200
committerRay <[email protected]>2023-05-16 11:02:00 +0200
commitc3f049fd740fca6a1cb2eb78c90fb9f20c6ecb34 (patch)
tree3d02db48a18891f4ffecc1e4afbaade81d5eda6d /src
parent675efbda3b19aa656bc935308013f0af7466c894 (diff)
downloadraylib-c3f049fd740fca6a1cb2eb78c90fb9f20c6ecb34.tar.gz
raylib-c3f049fd740fca6a1cb2eb78c90fb9f20c6ecb34.zip
review formatting
Diffstat (limited to 'src')
-rw-r--r--src/rcore.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/rcore.c b/src/rcore.c
index b4132225..127abcf3 100644
--- a/src/rcore.c
+++ b/src/rcore.c
@@ -727,14 +727,16 @@ void android_main(struct android_app *app)
int pollEvents = 0;
// Wait for app events to close
- while (!CORE.Android.app->destroyRequested) {
- while ((pollResult = ALooper_pollAll(0, NULL, &pollEvents, (void**)&CORE.Android.source)) >= 0) {
+ while (!CORE.Android.app->destroyRequested)
+ {
+ while ((pollResult = ALooper_pollAll(0, NULL, &pollEvents, (void **)&CORE.Android.source)) >= 0)
+ {
if (CORE.Android.source != NULL) CORE.Android.source->process(CORE.Android.app, CORE.Android.source);
}
}
- // WARNING: Check for deallocation and ensure no other processes are running from the application.
- exit(0); // Closes the application completely without going through Java
+ // WARNING: Check for deallocation and ensure no other processes are running from the application
+ exit(0); // Closes the application completely without going through Java
}
// NOTE: Add this to header (if apps really need it)