Not implemented asserts to prevent silent fails

This commit is contained in:
Aceeri committed 2015-11-09 03:18:48 -08:00
1 parent c6ffedccbd
commit 9a05577df8
4 files changed
+16

No files matched your search

+4
View File
@@ -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() };