From a3f4e6a400f1c6811c11d6c8d9cecc76f253e173 Mon Sep 17 00:00:00 2001 From: maxxnino <34153891+maxxnino@users.noreply.github.com> Date: Sun, 21 Nov 2021 23:39:18 +0900 Subject: [PATCH] use present_queue for present_queue --- examples/graphics_context.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);