diff options
Diffstat (limited to 'src/android')
-rw-r--r-- | src/android/mod.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/android/mod.rs b/src/android/mod.rs index e0a33c4..2f6ffb1 100644 --- a/src/android/mod.rs +++ b/src/android/mod.rs @@ -39,9 +39,13 @@ impl MonitorID { } impl Window { - pub fn new(_builder: WindowBuilder) -> Result<Window, CreationError> { + pub fn new(builder: WindowBuilder) -> Result<Window, CreationError> { use std::{mem, ptr}; + if builder.sharing.is_some() { + unimplemented!() + } + let native_window = unsafe { android_glue::get_native_window() }; if native_window.is_null() { return Err(OsError(format!("Android's native window is null"))); |