vulkano/vk-sys
lummax ef7ab2dc24 vk-sys/vulkano{-win}: correct type of native window
This commit changes the definitions for `window` in `XlibSurfaceCreateInfoKHR`
and `XcbSurfaceCreateInfoKHR` with to `u64` (xlib) and `u32` (xcb) (see
definitions below).

`vk-sys` defined `XlibSurfaceCreateInfoKHR` and `XcbSurfaceCreateInfoKHR` with
`pub window: *const c_void`. This propagates through to the API in
`vulkano::swapchain::Surface::from_{xlib,xcb}()`. As the native window types
in xcb/xlib are defined as unsigned ints, this may lead to the belief that a
pointer to such an integer is required. `vulkano` will create a `Surface` but
this surface will not be supported by any queue family.

xlib: https://cgit.freedesktop.org/xorg/proto/x11proto/tree/X.h#n96 and
      https://cgit.freedesktop.org/xorg/proto/x11proto/tree/X.h#n66

      (search `Windows`)

xcb: https://xcb.freedesktop.org/manual/group__XCB____API.html

    (search `xcb_window_t`)
2016-09-01 18:26:12 +02:00
..
src vk-sys/vulkano{-win}: correct type of native window 2016-09-01 18:26:12 +02:00
.gitignore Add vk-sys 2016-02-16 16:37:11 +01:00
Cargo.toml Rename the COLORSPACE_SRGB_NONLINEAR_KHR enum 2016-06-29 10:12:43 +02:00
README.md Add vk-sys 2016-02-16 16:37:11 +01:00

Temporary Vulkan symbols loading library

Hastily written library that loads Vulkan symbols. Temporary. Do not use. A better library needs to be written.