aboutsummaryrefslogtreecommitdiffstats
path: root/src/osx/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/osx/mod.rs')
-rw-r--r--src/osx/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osx/mod.rs b/src/osx/mod.rs
index 0b4a508..7209aa4 100644
--- a/src/osx/mod.rs
+++ b/src/osx/mod.rs
@@ -71,6 +71,10 @@ impl Deref<Window> for HeadlessContext {
#[cfg(feature = "window")]
impl Window {
pub fn new(builder: WindowBuilder) -> Result<Window, CreationError> {
+ if builder.sharing.is_some() {
+ unimplemented!()
+ }
+
Window::new_impl(builder.dimensions, builder.title.as_slice(), builder.monitor, true)
}
}