Allow creating EGL contexts on win32 with the AMD DLLs

This commit is contained in:
Pierre Krieger 2015-05-21 18:59:30 +02:00
parent e606281862
commit 01ecd24fe2
7 changed files with 133 additions and 27 deletions

View file

@ -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();