From 01ecd24fe2dff3c81bfa57e76ebab9a05048e246 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Thu, 21 May 2015 18:59:30 +0200 Subject: Allow creating EGL contexts on win32 with the AMD DLLs --- src/api/wayland/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/wayland') 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 _ )) -- cgit v1.2.3