Add support for sRGB attribute and fix creation on windows

This commit is contained in:
Pierre Krieger 2015-04-03 14:02:33 +02:00
parent 41044c160a
commit 65f4809280
4 changed files with 41 additions and 1 deletions

View file

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