aboutsummaryrefslogtreecommitdiffstats
path: root/build.rs
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-01-23 09:31:05 +0100
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-01-23 09:33:22 +0100
commitb05ef16d817af85d175d60422591d90fe3ec4218 (patch)
treeb0a55aecc955cfadbebcc20183c9a7eabdcc033b /build.rs
parent1d6b863cd454839b8e3cf1e296cbf8f31fb70029 (diff)
downloadglutin-b05ef16d817af85d175d60422591d90fe3ec4218.tar.gz
glutin-b05ef16d817af85d175d60422591d90fe3ec4218.zip
Implement vsync for x11 and add vsync example
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.rs b/build.rs
index f49b47f..15a0f6d 100644
--- a/build.rs
+++ b/build.rs
@@ -39,6 +39,8 @@ fn main() {
khronos_api::GLX_XML,
vec![
"GLX_ARB_create_context".to_string(),
+ "GLX_EXT_swap_control".to_string(),
+ "GLX_SGI_swap_control".to_string()
],
"1.4", "core", &mut file).unwrap();
}