aboutsummaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2014-11-24 20:13:32 +0100
committerPierre Krieger <pierre.krieger1708@gmail.com>2014-11-24 20:13:52 +0100
commit4c0413bc7cbf83066014ca2334827fd8ccfbcfa7 (patch)
tree49cbbce62bec8a6203ab731df87001b32cd7c81d /src/android
parent9668878f266dc23f8be353d804f7c99fb96767ac (diff)
downloadglutin-4c0413bc7cbf83066014ca2334827fd8ccfbcfa7.tar.gz
glutin-4c0413bc7cbf83066014ca2334827fd8ccfbcfa7.zip
Implement lists sharing
Diffstat (limited to 'src/android')
-rw-r--r--src/android/mod.rs6
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")));