aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/glx/mod.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-06-26 11:34:14 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-06-26 11:34:14 +0200
commit86300dfb793abeb53db0780fbf99bf4f007c88b8 (patch)
tree3659b09a7d7992a1e57ccaa9c20ab79d2a9a6222 /src/api/glx/mod.rs
parent4349de5541bb3049b7f7a7b46616daa578b7665c (diff)
parentbff79c02cebd6ddba88918053d4fcd39bbd09b11 (diff)
downloadglutin-86300dfb793abeb53db0780fbf99bf4f007c88b8.tar.gz
glutin-86300dfb793abeb53db0780fbf99bf4f007c88b8.zip
Merge pull request #500 from tomaka/no-error
Add support for the EGL_KHR_create_context_no_error extension
Diffstat (limited to 'src/api/glx/mod.rs')
-rw-r--r--src/api/glx/mod.rs3
1 files changed, 2 insertions, 1 deletions
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 {