diff --git a/examples/graphics_context.zig b/examples/graphics_context.zig index 72749ac..d50a599 100644 --- a/examples/graphics_context.zig +++ b/examples/graphics_context.zig @@ -131,7 +131,7 @@ pub const GraphicsContext = struct { errdefer self.vkd.destroyDevice(self.dev, null); self.graphics_queue = Queue.init(self.vkd, self.dev, candidate.queues.graphics_family); - self.present_queue = Queue.init(self.vkd, self.dev, candidate.queues.graphics_family); + self.present_queue = Queue.init(self.vkd, self.dev, candidate.queues.present_family); self.mem_props = self.vki.getPhysicalDeviceMemoryProperties(self.pdev);