Merge pull request #500 from tomaka/no-error

Add support for the EGL_KHR_create_context_no_error extension
This commit is contained in:
tomaka 2015-06-26 11:34:14 +02:00
commit 86300dfb79
6 changed files with 70 additions and 24 deletions

View file

@ -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 {