Update graphics_context.zig

This commit is contained in:
InKryption
2021-11-05 18:06:20 +00:00
committed by GitHub
parent d9c1c79223
commit 087cd02413

View File

@@ -5,11 +5,11 @@ const Allocator = std.mem.Allocator;
const required_device_extensions = [_][]const u8{vk.extension_info.khr_swapchain.name}; const required_device_extensions = [_][]const u8{vk.extension_info.khr_swapchain.name};
const BaseDispatch = vk.BaseWrapper(.{ const BaseDispatch = vk.BaseWrapper(&.{
.createInstance, .createInstance,
}); });
const InstanceDispatch = vk.InstanceWrapper(.{ const InstanceDispatch = vk.InstanceWrapper(&.{
.destroyInstance, .destroyInstance,
.createDevice, .createDevice,
.destroySurfaceKHR, .destroySurfaceKHR,
@@ -25,7 +25,7 @@ const InstanceDispatch = vk.InstanceWrapper(.{
.getDeviceProcAddr, .getDeviceProcAddr,
}); });
const DeviceDispatch = vk.DeviceWrapper(.{ const DeviceDispatch = vk.DeviceWrapper(&.{
.destroyDevice, .destroyDevice,
.getDeviceQueue, .getDeviceQueue,
.createSemaphore, .createSemaphore,