Not implemented asserts to prevent silent fails
This commit is contained in:
parent
c6ffedccbd
commit
9a05577df8
4 changed files with 16 additions and 0 deletions
|
|
@ -257,6 +257,10 @@ impl Window {
|
|||
{
|
||||
use self::wayland::internals::FFI;
|
||||
|
||||
// not implemented
|
||||
assert!(win_attribs.min_dimensions.is_none());
|
||||
assert!(win_attribs.max_dimensions.is_none());
|
||||
|
||||
let wayland_context = match *WAYLAND_CONTEXT {
|
||||
Some(ref c) => c,
|
||||
None => return Err(CreationError::NotSupported),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue