aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/glx
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-07-20 19:34:34 +0200
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-07-20 19:34:34 +0200
commitba5adfa1e13e8be0dec888b3fbcb54fd30a9a673 (patch)
tree231965fb1e033d15a5e331c0eab38022fadfd7ce /src/api/glx
parentca1eb8dc533301060e2b2768646b15d79c8be60c (diff)
downloadglutin-ba5adfa1e13e8be0dec888b3fbcb54fd30a9a673.tar.gz
glutin-ba5adfa1e13e8be0dec888b3fbcb54fd30a9a673.zip
Add CreationError::RobustnessNotSupported
Diffstat (limited to 'src/api/glx')
-rw-r--r--src/api/glx/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/glx/mod.rs b/src/api/glx/mod.rs
index e0adde7..753bd74 100644
--- a/src/api/glx/mod.rs
+++ b/src/api/glx/mod.rs
@@ -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);
},
_ => ()
}