From bff79c02cebd6ddba88918053d4fcd39bbd09b11 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Thu, 25 Jun 2015 09:34:33 +0200 Subject: Add support for the EGL_KHR_create_context_no_error extension --- src/api/glx/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/api/glx') diff --git a/src/api/glx/mod.rs b/src/api/glx/mod.rs index 2c15e18..d286813 100644 --- a/src/api/glx/mod.rs +++ b/src/api/glx/mod.rs @@ -246,7 +246,8 @@ fn create_context(glx: &ffi::glx::Glx, extra_functions: &ffi::glx_extra::Glx, ex attributes.push(ffi::glx_extra::LOSE_CONTEXT_ON_RESET_ARB as libc::c_int); flags = flags | ffi::glx_extra::CONTEXT_ROBUST_ACCESS_BIT_ARB as libc::c_int; }, - Robustness::NotRobust => () + Robustness::NotRobust => (), + Robustness::NoError => (), } } else { match robustness { -- cgit v1.2.3