This commit is contained in:
Reece Wilson 2023-11-03 00:08:29 +00:00
parent c69f11075b
commit e7ae1d03be

View File

@ -2880,7 +2880,7 @@ VkResult _glfwCreateWindowSurfaceWin32(VkInstance instance,
{
_glfwInputError(GLFW_API_UNAVAILABLE,
"Win32: Vulkan instance missing VK_KHR_win32_surface extension");
return ;
return VK_ERROR_EXTENSION_NOT_PRESENT;
}
memset(&sci, 0, sizeof(sci));
@ -2896,7 +2896,7 @@ VkResult _glfwCreateWindowSurfaceWin32(VkInstance instance,
"unk");
}
return VK_ERROR_EXTENSION_NOT_PRESENT;
return err;
}
GLFWAPI HWND glfwGetWin32Window(GLFWwindow* handle)