bevy/examples/android/bevy_android.rs
Nicholas Rishel 53c4c45eca
Use embedded glslang for runtime glsl-to-spirv and add Android example (#740)
Use embedded glslang for runtime glsl-to-spirv and add Android example
2020-11-02 16:30:30 -08:00

11 lines
248 B
Rust

// Edit to run any single file example from Bevy.
include!("../3d/3d_scene.rs");
#[cfg_attr(
target_os = "android",
ndk_glue::main(logger(level = "trace", tag = "bevy_android"), backtrace = "full")
)]
pub fn android_main() {
main();
}