diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-06-25 09:34:33 +0200 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-06-25 09:35:58 +0200 |
commit | bff79c02cebd6ddba88918053d4fcd39bbd09b11 (patch) | |
tree | 089c25583836b160a073c1b0a3feebfb66059a9d /src/api/wgl | |
parent | 1c6fb9daae92127271e0e13e373998f2bc37df82 (diff) | |
download | glutin-bff79c02cebd6ddba88918053d4fcd39bbd09b11.tar.gz glutin-bff79c02cebd6ddba88918053d4fcd39bbd09b11.zip |
Add support for the EGL_KHR_create_context_no_error extension
Diffstat (limited to 'src/api/wgl')
-rw-r--r-- | src/api/wgl/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/wgl/mod.rs b/src/api/wgl/mod.rs index ee8aa3b..7a1ab3a 100644 --- a/src/api/wgl/mod.rs +++ b/src/api/wgl/mod.rs @@ -283,7 +283,8 @@ unsafe fn create_context(extra: Option<(&gl::wgl_extra::Wgl, &BuilderAttribs<'st attributes.push(gl::wgl_extra::LOSE_CONTEXT_ON_RESET_ARB as libc::c_int); flags = flags | gl::wgl_extra::CONTEXT_ROBUST_ACCESS_BIT_ARB as libc::c_int; }, - Robustness::NotRobust => () + Robustness::NotRobust => (), + Robustness::NoError => (), } } else { match builder.gl_robustness { |