From ba5adfa1e13e8be0dec888b3fbcb54fd30a9a673 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Mon, 20 Jul 2015 19:34:34 +0200 Subject: Add CreationError::RobustnessNotSupported --- src/api/glx/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/glx') 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); }, _ => () } -- cgit v1.2.3