From 9a05577df8f3e616de94635ef41e0d8601f3091c Mon Sep 17 00:00:00 2001 From: Aceeri Date: Mon, 9 Nov 2015 03:18:48 -0800 Subject: Not implemented asserts to prevent silent fails --- src/api/cocoa/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/api/cocoa') diff --git a/src/api/cocoa/mod.rs b/src/api/cocoa/mod.rs index c1b22c9..b7e0239 100644 --- a/src/api/cocoa/mod.rs +++ b/src/api/cocoa/mod.rs @@ -268,6 +268,10 @@ impl Window { unimplemented!() } + // not implemented + assert!(win_attribs.min_dimensions.is_none()); + assert!(win_attribs.max_dimensions.is_none()); + match opengl.robustness { Robustness::RobustNoResetNotification | Robustness::RobustLoseContextOnReset => { return Err(CreationError::RobustnessNotSupported); -- cgit v1.2.3