Add CreationError::RobustnessNotSupported

This commit is contained in:
Pierre Krieger 2015-07-20 19:34:34 +02:00
parent ca1eb8dc53
commit ba5adfa1e1
6 changed files with 10 additions and 7 deletions

View file

@ -335,7 +335,7 @@ impl Window {
match builder.gl_robustness {
Robustness::RobustNoResetNotification | Robustness::RobustLoseContextOnReset => {
return Err(CreationError::NotSupported);
return Err(CreationError::RobustnessNotSupported);
},
_ => ()
}