aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/wgl/gl.rs
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-05-20 22:38:06 +0200
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-05-21 16:47:19 +0200
commitea17038ac2a25982ffc8e9308eec312864938d20 (patch)
tree14673f9745e4760e5e93412a5126d229828ec7de /src/api/wgl/gl.rs
parentb72ac990e67771ca8c256859ce3fc472458becd9 (diff)
downloadglutin-ea17038ac2a25982ffc8e9308eec312864938d20.tar.gz
glutin-ea17038ac2a25982ffc8e9308eec312864938d20.zip
Detach wgl and win32
Diffstat (limited to 'src/api/wgl/gl.rs')
-rw-r--r--src/api/wgl/gl.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/api/wgl/gl.rs b/src/api/wgl/gl.rs
new file mode 100644
index 0000000..1354d95
--- /dev/null
+++ b/src/api/wgl/gl.rs
@@ -0,0 +1,12 @@
+/// WGL bindings
+pub mod wgl {
+ include!(concat!(env!("OUT_DIR"), "/wgl_bindings.rs"));
+}
+
+/// Functions that are not necessarly always available
+pub mod wgl_extra {
+ include!(concat!(env!("OUT_DIR"), "/wgl_extra_bindings.rs"));
+}
+
+#[link(name = "opengl32")]
+extern {}