diff options
Diffstat (limited to 'build.rs')
-rw-r--r-- | build.rs | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -58,6 +58,14 @@ fn main() { "GLX_SGI_swap_control".to_string() ], "1.4", "core", &mut file).unwrap(); + + let mut file = File::create(&dest.join("egl_bindings.rs")).unwrap(); + gl_generator::generate_bindings(gl_generator::StructGenerator, + gl_generator::registry::Ns::Egl, + gl_generator::Fallbacks::All, + khronos_api::EGL_XML, + vec![], + "1.5", "core", &mut file).unwrap(); } if target.contains("android") { |