From c52c035c049f2d84ff6f34e8ad1fbbb5b4fcacad Mon Sep 17 00:00:00 2001 From: Lars Bergstrom Date: Tue, 13 Oct 2015 19:36:07 -0500 Subject: [PATCH] Depend on specific versions --- Cargo.toml | 4 ++-- build.rs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 091bdc63..fbbed750 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ repository = "https://github.com/ecoal95/rust-offscreen-rendering-context" build = "build.rs" [build-dependencies] -gl_generator = "*" -khronos_api = "*" +gl_generator = "0.0.28" +khronos_api = "0.0.8" [features] texture_surface = ["layers"] diff --git a/build.rs b/build.rs index 0adfd575..5f8aacf2 100644 --- a/build.rs +++ b/build.rs @@ -24,6 +24,7 @@ fn main() { gl_generator::registry::Ns::Egl, gl_generator::Fallbacks::All, khronos_api::EGL_XML, vec![], - "1.5", "core", &mut file).unwrap(); + "1.4", "core", &mut file).unwrap(); + println!("cargo:rustc-link-lib=EGL"); } }