mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 06:10:07 -04:00
Add with_robustness and handle robustness on all implementations
This commit is contained in:
8
build.rs
8
build.rs
@@ -25,6 +25,7 @@ fn main() {
|
||||
vec![
|
||||
"WGL_ARB_create_context".to_string(),
|
||||
"WGL_ARB_create_context_profile".to_string(),
|
||||
"WGL_ARB_create_context_robustness".to_string(),
|
||||
"WGL_ARB_extensions_string".to_string(),
|
||||
"WGL_ARB_framebuffer_sRGB".to_string(),
|
||||
"WGL_ARB_multisample".to_string(),
|
||||
@@ -42,7 +43,8 @@ fn main() {
|
||||
gl_generator::Fallbacks::All,
|
||||
khronos_api::EGL_XML,
|
||||
vec![
|
||||
"EGL_KHR_create_context".to_string()
|
||||
"EGL_KHR_create_context".to_string(),
|
||||
"EGL_EXT_create_context_robustness".to_string(),
|
||||
],
|
||||
"1.5", "core", &mut file).unwrap();
|
||||
}
|
||||
@@ -63,6 +65,7 @@ fn main() {
|
||||
vec![
|
||||
"GLX_ARB_create_context".to_string(),
|
||||
"GLX_ARB_create_context_profile".to_string(),
|
||||
"GLX_ARB_create_context_robustness".to_string(),
|
||||
"GLX_ARB_framebuffer_sRGB".to_string(),
|
||||
"GLX_EXT_framebuffer_sRGB".to_string(),
|
||||
"GLX_EXT_swap_control".to_string(),
|
||||
@@ -76,7 +79,8 @@ fn main() {
|
||||
gl_generator::Fallbacks::All,
|
||||
khronos_api::EGL_XML,
|
||||
vec![
|
||||
"EGL_KHR_create_context".to_string()
|
||||
"EGL_KHR_create_context".to_string(),
|
||||
"EGL_EXT_create_context_robustness".to_string(),
|
||||
],
|
||||
"1.5", "core", &mut file).unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user