diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2014-10-22 11:28:10 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2014-10-22 11:28:10 +0200 |
commit | 2a29e4d743205e96da611516f5fe99da78e462d1 (patch) | |
tree | 0c44986d2c2db6a27dee94a3a9c9d6a8385ec9c6 /src/win32/ffi.rs | |
parent | c8ea2bf587429b5b59d5a41f7ebb16a7998badd9 (diff) | |
parent | 2ff393fe623d10f2ea89262013ba66e228cc0c94 (diff) | |
download | glutin-2a29e4d743205e96da611516f5fe99da78e462d1.tar.gz glutin-2a29e4d743205e96da611516f5fe99da78e462d1.zip |
Merge pull request #59 from tomaka/update
Update for rustc and gl-rs
Diffstat (limited to 'src/win32/ffi.rs')
-rw-r--r-- | src/win32/ffi.rs | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/win32/ffi.rs b/src/win32/ffi.rs index 2385954..317935d 100644 --- a/src/win32/ffi.rs +++ b/src/win32/ffi.rs @@ -7,12 +7,25 @@ use libc; /// WGL bindings pub mod wgl { - generate_gl_bindings!("wgl", "core", "1.0", "static") + generate_gl_bindings! { + api: "wgl", + profile: "core", + version: "1.0", + generator: "static" + } } /// Functions that are not necessarly always available pub mod wgl_extra { - generate_gl_bindings!("wgl", "core", "1.0", "struct", [ "WGL_ARB_create_context" ]) + generate_gl_bindings! { + api: "wgl", + profile: "core", + version: "1.0", + generator: "struct", + extensions: [ + "WGL_ARB_create_context" + ] + } } // http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx |