[][src]Trait glutin::os::windows::RawContextExt

pub trait RawContextExt {
    unsafe fn build_raw_context(
        self,
        hwnd: *mut c_void
    ) -> Result<RawContext<NotCurrent>, CreationError>
    where
        Self: Sized
; }

Required methods

unsafe fn build_raw_context(
    self,
    hwnd: *mut c_void
) -> Result<RawContext<NotCurrent>, CreationError> where
    Self: Sized

Creates a raw context on the provided window.

Unsafe behaviour might happen if you:

  • Provide us with invalid parameters.
  • The window is destroyed before the context
Loading content...

Implementors

impl<'a, T: ContextCurrentState> RawContextExt for ContextBuilder<'a, T>[src]

Loading content...