diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-05-21 19:37:10 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-05-21 19:37:10 +0200 |
commit | 4824333453bfe6f91cdb6eefdd58ef112ef965ab (patch) | |
tree | e15a00f7e7e15d016f052ec2f3dd47a3ae40ba92 /src/api/android | |
parent | e606281862dfd016051e2ee66e67eddb71c6d0ac (diff) | |
parent | 01ecd24fe2dff3c81bfa57e76ebab9a05048e246 (diff) | |
download | glutin-4824333453bfe6f91cdb6eefdd58ef112ef965ab.tar.gz glutin-4824333453bfe6f91cdb6eefdd58ef112ef965ab.zip |
Merge pull request #459 from tomaka/win32-egl-2
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(); |