Skip to content

Commit

Permalink
Implemented blocking_event_loop for ios opengl and metal
Browse files Browse the repository at this point in the history
- Added MESSAGES_TX for ios and implemented main loop almost similar to android version
- Fixed metal quarter screen
  • Loading branch information
birhburh authored and not-fl3 committed Jun 17, 2024
1 parent f6780f1 commit 51b5fb3
Show file tree
Hide file tree
Showing 2 changed files with 321 additions and 84 deletions.
8 changes: 1 addition & 7 deletions src/native/android.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,7 @@ impl MainThreadState {
}
ShowKeyboard(show) => unsafe {
let env = attach_jni_env();
ndk_utils::call_void_method!(
env,
ACTIVITY,
"showKeyboard",
"(Z)V",
show as i32
);
ndk_utils::call_void_method!(env, ACTIVITY, "showKeyboard", "(Z)V", show as i32);
},
_ => {}
}
Expand Down
Loading

0 comments on commit 51b5fb3

Please sign in to comment.