This commit is contained in:
2026-03-23 21:34:32 +01:00
parent 0af8fa0421
commit 03c4ea27ff

2
kvf.h
View File

@@ -2287,7 +2287,7 @@ void kvfDestroySemaphore(VkDevice device, VkSemaphore semaphore)
case KVF_SURFACE_METAL:
{
VkMetalSurfaceCreateInfoEXT create_info = {};
create_info.sType = VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_KHR;
create_info.sType = VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT;
create_info.pNext = nullptr;
create_info.flags = 0;
create_info.pLayer = (CAMetalLayer*)window_handle;