aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32/gl.rs
blob: a44af77b10fbe7a36f260d1cc73a29be403854e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/// 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 {}