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/osmesa/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/osmesa') diff --git a/src/api/osmesa/mod.rs b/src/api/osmesa/mod.rs index db0a1e7..15225b3 100644 --- a/src/api/osmesa/mod.rs +++ b/src/api/osmesa/mod.rs @@ -41,7 +41,7 @@ impl OsMesaContext { match builder.gl_robustness { Robustness::RobustNoResetNotification | Robustness::RobustLoseContextOnReset => { - return Err(CreationError::NotSupported.into()); + return Err(CreationError::RobustnessNotSupported.into()); }, _ => () } -- cgit v1.2.3