diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-07-20 19:34:34 +0200 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-07-20 19:34:34 +0200 |
commit | ba5adfa1e13e8be0dec888b3fbcb54fd30a9a673 (patch) | |
tree | 231965fb1e033d15a5e331c0eab38022fadfd7ce /src/api/cocoa | |
parent | ca1eb8dc533301060e2b2768646b15d79c8be60c (diff) | |
download | glutin-ba5adfa1e13e8be0dec888b3fbcb54fd30a9a673.tar.gz glutin-ba5adfa1e13e8be0dec888b3fbcb54fd30a9a673.zip |
Add CreationError::RobustnessNotSupported
Diffstat (limited to 'src/api/cocoa')
-rw-r--r-- | src/api/cocoa/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/cocoa/mod.rs b/src/api/cocoa/mod.rs index 332244e..680c621 100644 --- a/src/api/cocoa/mod.rs +++ b/src/api/cocoa/mod.rs @@ -335,7 +335,7 @@ impl Window { match builder.gl_robustness { Robustness::RobustNoResetNotification | Robustness::RobustLoseContextOnReset => { - return Err(CreationError::NotSupported); + return Err(CreationError::RobustnessNotSupported); }, _ => () } |