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

@ -301,7 +301,7 @@ fn create_context(glx: &ffi::glx::Glx, extra_functions: &ffi::glx_extra::Glx, ex
} else {
match robustness {
Robustness::RobustNoResetNotification | Robustness::RobustLoseContextOnReset => {
return Err(CreationError::NotSupported);
return Err(CreationError::RobustnessNotSupported);
},
_ => ()
}