Fix compile error on macOS

This commit is contained in:
Magnus Norddahl 2022-12-05 04:31:34 +01:00 committed by Christoph Oelckers
parent 4c85f461b1
commit 449501c75b

View file

@ -432,11 +432,6 @@ public:
try
{
unsigned int count = 64;
const char* names[64];
if (!I_GetVulkanPlatformExtensions(&count, names))
VulkanError("I_GetVulkanPlatformExtensions failed");
VulkanInstanceBuilder builder;
builder.DebugLayer(vk_debug);
builder.RequireExtension(VK_KHR_SURFACE_EXTENSION_NAME); // KHR_surface, required