Merge pull request #220 from tomaka/x11-vsync

Implement vsync for x11 and add vsync example
This commit is contained in:
tomaka 2015-01-25 12:56:15 +01:00
commit f8c66ff2a9
4 changed files with 96 additions and 2 deletions

View file

@ -40,6 +40,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();
}