diff options
Diffstat (limited to 'src/api/android')
-rw-r--r-- | src/api/android/mod.rs | 2 |
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(); |