aboutsummaryrefslogtreecommitdiffstats
path: root/build.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-08-07 16:49:42 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-08-07 16:49:42 +0200
commit90e62083d686ed9c878beb348e9b54853242eab0 (patch)
tree86e5ba50cdab22fb225aa3b2178d9e04779809ec /build.rs
parent4ab83a23e5d15ac4372ad24cc88f1c970099efc7 (diff)
parent587dedaa9e95236f891d9a0e4ec04ee3700236a8 (diff)
downloadglutin-90e62083d686ed9c878beb348e9b54853242eab0.tar.gz
glutin-90e62083d686ed9c878beb348e9b54853242eab0.zip
Merge pull request #566 from tomaka/display-egl
Correct EGL display handling
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs40
1 files changed, 39 insertions, 1 deletions
diff --git a/build.rs b/build.rs
index c73f687..51f86aa 100644
--- a/build.rs
+++ b/build.rs
@@ -46,6 +46,15 @@ fn main() {
"EGL_KHR_create_context".to_string(),
"EGL_EXT_create_context_robustness".to_string(),
"EGL_KHR_create_context_no_error".to_string(),
+ "EGL_KHR_platform_x11".to_string(),
+ "EGL_KHR_platform_android".to_string(),
+ "EGL_KHR_platform_wayland".to_string(),
+ "EGL_KHR_platform_gbm".to_string(),
+ "EGL_EXT_platform_base".to_string(),
+ "EGL_EXT_platform_x11".to_string(),
+ "EGL_MESA_platform_gbm".to_string(),
+ "EGL_EXT_platform_wayland".to_string(),
+ "EGL_EXT_platform_device".to_string(),
],
"1.5", "core", &mut file).unwrap();
}
@@ -83,6 +92,15 @@ fn main() {
"EGL_KHR_create_context".to_string(),
"EGL_EXT_create_context_robustness".to_string(),
"EGL_KHR_create_context_no_error".to_string(),
+ "EGL_KHR_platform_x11".to_string(),
+ "EGL_KHR_platform_android".to_string(),
+ "EGL_KHR_platform_wayland".to_string(),
+ "EGL_KHR_platform_gbm".to_string(),
+ "EGL_EXT_platform_base".to_string(),
+ "EGL_EXT_platform_x11".to_string(),
+ "EGL_MESA_platform_gbm".to_string(),
+ "EGL_EXT_platform_wayland".to_string(),
+ "EGL_EXT_platform_device".to_string(),
],
"1.5", "core", &mut file).unwrap();
}
@@ -97,6 +115,15 @@ fn main() {
"EGL_KHR_create_context".to_string(),
"EGL_EXT_create_context_robustness".to_string(),
"EGL_KHR_create_context_no_error".to_string(),
+ "EGL_KHR_platform_x11".to_string(),
+ "EGL_KHR_platform_android".to_string(),
+ "EGL_KHR_platform_wayland".to_string(),
+ "EGL_KHR_platform_gbm".to_string(),
+ "EGL_EXT_platform_base".to_string(),
+ "EGL_EXT_platform_x11".to_string(),
+ "EGL_MESA_platform_gbm".to_string(),
+ "EGL_EXT_platform_wayland".to_string(),
+ "EGL_EXT_platform_device".to_string(),
],
"1.5", "core", &mut file).unwrap();
}
@@ -108,7 +135,18 @@ 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(),
+ "EGL_KHR_create_context_no_error".to_string(),
+ "EGL_KHR_platform_x11".to_string(),
+ "EGL_KHR_platform_android".to_string(),
+ "EGL_KHR_platform_wayland".to_string(),
+ "EGL_KHR_platform_gbm".to_string(),
+ "EGL_EXT_platform_base".to_string(),
+ "EGL_EXT_platform_x11".to_string(),
+ "EGL_MESA_platform_gbm".to_string(),
+ "EGL_EXT_platform_wayland".to_string(),
+ "EGL_EXT_platform_device".to_string(),
],
"1.5", "core", &mut file).unwrap();