mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 23:23:14 -04:00
Allow creating EGL contexts on win32 with the AMD DLLs
This commit is contained in:
@@ -110,7 +110,7 @@ impl Window {
|
||||
return Err(OsError(format!("Android's native window is null")));
|
||||
}
|
||||
|
||||
let context = try!(EglContext::new(egl::ffi::egl::Egl, builder, None,
|
||||
let context = try!(EglContext::new(egl::ffi::egl::Egl, &builder, None,
|
||||
native_window as *const _));
|
||||
|
||||
let (tx, rx) = channel();
|
||||
|
||||
Reference in New Issue
Block a user