mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 23:23:14 -04:00
Merge pull request #500 from tomaka/no-error
Add support for the EGL_KHR_create_context_no_error extension
This commit is contained in:
@@ -281,7 +281,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 {
|
||||
|
||||
Reference in New Issue
Block a user