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

@ -290,7 +290,7 @@ unsafe fn create_context(extra: Option<(&gl::wgl_extra::Wgl, &BuilderAttribs<'st
} else {
match builder.gl_robustness {
Robustness::RobustNoResetNotification | Robustness::RobustLoseContextOnReset => {
return Err(CreationError::NotSupported);
return Err(CreationError::RobustnessNotSupported);
},
_ => ()
}