-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
after upgrading:
- .url = "git+https://github.com/Snektron/vulkan-zig.git#06dae6c9201863837a92064e2e7814aa71064067",
- .hash = "1220edeb3fc7dfc40e6fde705a108edce0a3cc76d165a7c9919d1fb037eccec43372",
+ .url = "git+https://github.com/Snektron/vulkan-zig.git#42e7a8409b8150e1cbd57a8ff8cec219114bac74",
+ .hash = "vulkan-0.0.0-r7Ytx2dUAwDhoUvuIqliqPUbyDZZi0bl_CQIwspUpHs_",this error occurred:
.zig-cache/o/e2e0f6bfe6b8da13ec6138c94e67b2b5/vk.zig:2054:13: error: extern structs cannot contain fields of type 'WaylandWindow'
window: Window,
^~~~~~
.zig-cache/o/e2e0f6bfe6b8da13ec6138c94e67b2b5/vk.zig:2054:13: note: only extern structs and ABI sized packed structs are extern compatible
src/WaylandWindow.zig:1:1: note: struct declared here
const WaylandWindow = @This();
^~~~~
in my root source file I have:
pub const Window = switch (config.window_lib) {
.x11 => @import("XcbWindow.zig"),
.wayland => @import("WaylandWindow.zig"),
};in vk.zig:2054:
pub const XlibSurfaceCreateInfoKHR = extern struct {
s_type: StructureType = .xlib_surface_create_info_khr,
p_next: ?*const anyopaque = null,
flags: XlibSurfaceCreateFlagsKHR = .{},
dpy: *Display,
window: Window,
};Looks like that should be
- window: Window,
+ window: *Window,?
Metadata
Metadata
Assignees
Labels
No labels