aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/wgl/gl.rs
diff options
context:
space:
mode:
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 {}