From 7f6f4f8d04b9f6dfbbc9528552fa45db932d6dae Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Wed, 24 Dec 2014 08:09:16 +0100 Subject: Update for gl_generator's changes --- src/win32/gl.rs | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'src/win32/gl.rs') diff --git a/src/win32/gl.rs b/src/win32/gl.rs index a44af77..1354d95 100644 --- a/src/win32/gl.rs +++ b/src/win32/gl.rs @@ -1,25 +1,11 @@ /// WGL bindings pub mod wgl { - generate_gl_bindings! { - api: "wgl", - profile: "core", - version: "1.0", - generator: "static" - } + include!(concat!(env!("OUT_DIR"), "/wgl_bindings.rs")); } /// Functions that are not necessarly always available pub mod wgl_extra { - generate_gl_bindings! { - api: "wgl", - profile: "core", - version: "1.0", - generator: "struct", - extensions: [ - "WGL_ARB_create_context", - "WGL_EXT_swap_control" - ] - } + include!(concat!(env!("OUT_DIR"), "/wgl_extra_bindings.rs")); } #[link(name = "opengl32")] -- cgit v1.2.3