1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#![cfg(target_os = "windows")]

pub use winapi::shared::windef::HGLRC;
pub use winit::os::windows::{DeviceIdExt, MonitorIdExt, WindowBuilderExt, WindowExt};

pub use api::egl::ffi::EGLContext;
pub use platform::RawHandle;

use os::GlContextExt;
use Context;

impl GlContextExt for Context {
    type Handle = RawHandle;

    #[inline]
    unsafe fn raw_handle(&self) -> Self::Handle {
        self.context.raw_handle()
    }
}