From d7df284c19993b0187c76c31ca15b613f86aecf4 Mon Sep 17 00:00:00 2001 From: ecoal95 Date: Thu, 18 Jun 2015 22:50:24 +0200 Subject: [PATCH] android: Fix android interactions with layers' NativeGraphicsMetadata --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index e15c4e5..912d35c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -46,7 +46,9 @@ mod egl { pub type khronos_uint64_t = libc::uint64_t; pub type khronos_ssize_t = libc::c_long; pub type EGLint = libc::int32_t; - pub type EGLNativeDisplayType = *const libc::c_void; + // FIXME: https://github.com/servo/servo/pull/6423#issuecomment-113282933 + // pub type EGLNativeDisplayType = *const libc::c_void; + pub type EGLNativeDisplayType = *mut libc::c_void; pub type EGLNativePixmapType = *const libc::c_void; pub type EGLNativeWindowType = *const libc::c_void; pub type NativeDisplayType = EGLNativeDisplayType;