Implement vsync for x11 and add vsync example
This commit is contained in:
parent
1d6b863cd4
commit
b05ef16d81
4 changed files with 96 additions and 2 deletions
2
build.rs
2
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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue