Allow creating EGL contexts on win32 with the AMD DLLs
This commit is contained in:
parent
e606281862
commit
01ecd24fe2
7 changed files with 133 additions and 27 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue