diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-05-21 18:59:30 +0200 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-05-21 18:59:30 +0200 |
commit | 01ecd24fe2dff3c81bfa57e76ebab9a05048e246 (patch) | |
tree | e15a00f7e7e15d016f052ec2f3dd47a3ae40ba92 /src/api/android | |
parent | e606281862dfd016051e2ee66e67eddb71c6d0ac (diff) | |
download | glutin-01ecd24fe2dff3c81bfa57e76ebab9a05048e246.tar.gz glutin-01ecd24fe2dff3c81bfa57e76ebab9a05048e246.zip |
Allow creating EGL contexts on win32 with the AMD DLLs
Diffstat (limited to 'src/api/android')
-rw-r--r-- | src/api/android/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/android/mod.rs b/src/api/android/mod.rs index 9a98322..d1281e3 100644 --- a/src/api/android/mod.rs +++ b/src/api/android/mod.rs @@ -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(); |