aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/android/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/android/mod.rs')
-rw-r--r--src/api/android/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/android/mod.rs b/src/api/android/mod.rs
index 9a98322..d1281e3 100644
--- a/src/api/android/mod.rs
+++ b/src/api/android/mod.rs
@@ -110,7 +110,7 @@ impl Window {
return Err(OsError(format!("Android's native window is null")));
}
- let context = try!(EglContext::new(egl::ffi::egl::Egl, builder, None,
+ let context = try!(EglContext::new(egl::ffi::egl::Egl, &builder, None,
native_window as *const _));
let (tx, rx) = channel();