nu simplified; working swapchain, queue, and validators.
it compiles, but initialization is not done create debug messenger Use proxies wip swapchain wip swapchain - stub usage get device queue wip swapchain - scaffolded with segfault wip swapchain - fix segfault wip swapchain - working, but resize broken. semaphore issue with naive handling satisfy validation
This commit is contained in:
@@ -40,6 +40,9 @@ pub var handle: *c.GLFWwindow = undefined;
|
||||
pub fn setup(_: std.mem.Allocator) !void {
|
||||
if (c.glfwInit() != c.GLFW_TRUE) std.debug.panic("GLFW Init Failed", .{});
|
||||
|
||||
if (c.glfwVulkanSupported() != c.GLFW_TRUE)
|
||||
std.debug.panic("GLFW Vulkan not supported", .{});
|
||||
|
||||
c.glfwWindowHint(c.GLFW_CLIENT_API, c.GLFW_NO_API);
|
||||
c.glfwWindowHintString(c.GLFW_X11_CLASS_NAME, config.x11_class_name);
|
||||
c.glfwWindowHintString(c.GLFW_X11_INSTANCE_NAME, config.x11_instance_name);
|
||||
|
Reference in New Issue
Block a user