From 67bf825aade4f013f22b46ab2fb156b713b3fe94 Mon Sep 17 00:00:00 2001 From: David Lin Date: Sat, 14 Oct 2017 11:31:57 +0800 Subject: [PATCH] initial work --- ash/src/vk.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ash/src/vk.rs b/ash/src/vk.rs index f30734a..638931d 100644 --- a/ash/src/vk.rs +++ b/ash/src/vk.rs @@ -215,10 +215,10 @@ pub mod types { pub type c_float = libc::c_float; pub type int32_t = libc::int32_t; pub type Display = *const c_void; - pub type Window = *const c_void; + pub type Window = libc::c_ulong; pub type VisualID = *const c_void; pub type xcb_connection_t = *const c_void; - pub type xcb_window_t = *const c_void; + pub type xcb_window_t = u32; pub type xcb_visualid_t = *const c_void; pub type MirConnection = *const c_void; pub type MirSurface = *const c_void;