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/wayland | |
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/wayland')
-rw-r--r-- | src/api/wayland/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/wayland/mod.rs b/src/api/wayland/mod.rs index 8a4b5cc..b9bfa18 100644 --- a/src/api/wayland/mod.rs +++ b/src/api/wayland/mod.rs @@ -165,7 +165,7 @@ impl Window { }); try!(EglContext::new( egl, - builder, + &builder, Some(wayland_context.display.ptr() as *const _), (*shell_surface).ptr() as *const _ )) |