Implement vsync for x11 and add vsync example

This commit is contained in:
Pierre Krieger 2015-01-23 09:31:05 +01:00
parent 1d6b863cd4
commit b05ef16d81
4 changed files with 96 additions and 2 deletions

View file

@ -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();
}