aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/android/mod.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-12-05 18:01:55 +0100
committertomaka <pierre.krieger1708@gmail.com>2015-12-05 18:01:55 +0100
commit48a02a0c8c9029543360884f1daaaade5d3f11a5 (patch)
tree0489869b1f75bbd9571e01c39a2d35427c984102 /src/api/android/mod.rs
parent8c3ffd2a4fe2dbb0033c1f830d384c0c2d8c88a1 (diff)
parent2be3c142f0778a3588982572a997dc669adca2a6 (diff)
downloadglutin-48a02a0c8c9029543360884f1daaaade5d3f11a5.tar.gz
glutin-48a02a0c8c9029543360884f1daaaade5d3f11a5.zip
Merge pull request #659 from Aceeri/minmaxwindow
Minimum/maximum dimensions for windows in win32 API
Diffstat (limited to 'src/api/android/mod.rs')
-rw-r--r--src/api/android/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/api/android/mod.rs b/src/api/android/mod.rs
index 3dcea90..f42caeb 100644
--- a/src/api/android/mod.rs
+++ b/src/api/android/mod.rs
@@ -120,6 +120,10 @@ impl Window {
{
use std::{mem, ptr};
+ // not implemented
+ assert!(win_attribs.min_dimensions.is_none());
+ assert!(win_attribs.max_dimensions.is_none());
+
let opengl = opengl.clone().map_sharing(|w| &w.context);
let native_window = unsafe { android_glue::get_native_window() };