mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-27 01:05:03 +00:00
ef7ab2dc24
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`) |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml | ||
README.md |
Temporary Vulkan symbols loading library
Hastily written library that loads Vulkan symbols. Temporary. Do not use. A better library needs to be written.