fix android build

This commit is contained in:
aydin.kim 2014-05-08 10:55:39 +09:00
parent 27bdc580ed
commit 60ce517e4a

View file

@ -144,7 +144,7 @@ pub extern "C" fn android_start(argc: int, argv: **u8) -> int {
}
}
let mut opts = opts::from_cmdline_args(args);
let mut opts = opts::from_cmdline_args(args.as_slice());
match opts {
Some(mut o) => {
// Always use CPU rendering on android.