diff options
Diffstat (limited to 'examples/multiwindow.rs')
-rw-r--r-- | examples/multiwindow.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/multiwindow.rs b/examples/multiwindow.rs index e65ad5f..df52ab2 100644 --- a/examples/multiwindow.rs +++ b/examples/multiwindow.rs @@ -1,7 +1,16 @@ +#![feature(phase)] + +#[cfg(target_os = "android")] +#[phase(plugin, link)] +extern crate android_glue; + extern crate gl; extern crate gl_init; extern crate libc; +#[cfg(target_os = "android")] +android_start!(main) + fn main() { let window1 = gl_init::Window::new().unwrap(); let window2 = gl_init::Window::new().unwrap(); |