Add support for sRGB attribute and fix creation on windows
This commit is contained in:
parent
41044c160a
commit
65f4809280
4 changed files with 41 additions and 1 deletions
1
build.rs
1
build.rs
|
|
@ -31,6 +31,7 @@ fn main() {
|
|||
"WGL_ARB_pixel_format".to_string(),
|
||||
"WGL_EXT_create_context_es2_profile".to_string(),
|
||||
"WGL_EXT_extensions_string".to_string(),
|
||||
"WGL_EXT_framebuffer_sRGB".to_string(),
|
||||
"WGL_EXT_swap_control".to_string(),
|
||||
],
|
||||
"1.0", "core", &mut file).unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue