Add support for the EGL_KHR_create_context_no_error extension

This commit is contained in:
Pierre Krieger 2015-06-25 09:34:33 +02:00
parent 1c6fb9daae
commit bff79c02ce
6 changed files with 70 additions and 24 deletions

View file

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