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
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue