mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-10-19 08:21:33 +11:00
27 lines
517 B
Rust
27 lines
517 B
Rust
|
/// WGL bindings
|
||
|
pub mod wgl {
|
||
|
generate_gl_bindings! {
|
||
|
api: "wgl",
|
||
|
profile: "core",
|
||
|
version: "1.0",
|
||
|
generator: "static"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// Functions that are not necessarly always available
|
||
|
pub mod wgl_extra {
|
||
|
generate_gl_bindings! {
|
||
|
api: "wgl",
|
||
|
profile: "core",
|
||
|
version: "1.0",
|
||
|
generator: "struct",
|
||
|
extensions: [
|
||
|
"WGL_ARB_create_context",
|
||
|
"WGL_EXT_swap_control"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#[link(name = "opengl32")]
|
||
|
extern {}
|