diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2014-11-24 20:51:59 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2014-11-24 20:51:59 +0100 |
commit | d7a7765638d4638c48e4b76477b32da6be7957b3 (patch) | |
tree | 49cbbce62bec8a6203ab731df87001b32cd7c81d /src/android | |
parent | 9668878f266dc23f8be353d804f7c99fb96767ac (diff) | |
parent | 4c0413bc7cbf83066014ca2334827fd8ccfbcfa7 (diff) | |
download | glutin-d7a7765638d4638c48e4b76477b32da6be7957b3.tar.gz glutin-d7a7765638d4638c48e4b76477b32da6be7957b3.zip |
Merge pull request #134 from tomaka/share-lists
Implement lists sharing
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"))); |