From ae07018a3c4412c2a4cc1361827f04cc03187342 Mon Sep 17 00:00:00 2001 From: Eric Womer Date: Mon, 30 Dec 2019 15:39:41 -0500 Subject: [PATCH] Removed an inclusion guard as it is needed for Physical Device extensions and not Instance extensions. --- neo/renderer/Vulkan/RenderBackend_VK.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/neo/renderer/Vulkan/RenderBackend_VK.cpp b/neo/renderer/Vulkan/RenderBackend_VK.cpp index a61b345c..a57f0a07 100644 --- a/neo/renderer/Vulkan/RenderBackend_VK.cpp +++ b/neo/renderer/Vulkan/RenderBackend_VK.cpp @@ -345,8 +345,7 @@ static void EnumeratePhysicalDevices() vkGetPhysicalDeviceQueueFamilyProperties( gpu.device, &numQueues, gpu.queueFamilyProps.Ptr() ); ID_VK_VALIDATE( numQueues > 0, "vkGetPhysicalDeviceQueueFamilyProperties returned zero queues." ); } - // Eric: Bypass this since on linux we use SDL_Vulkan_GetInstanceExtensions to query for extensions. -#if defined(__linux__) + // grab available Vulkan extensions { idLib::Printf("Getting available vulkan extensions...\n"); @@ -364,7 +363,6 @@ static void EnumeratePhysicalDevices() } #endif // 0 } -#endif // __linux__ // grab surface specific information ID_VK_CHECK( vkGetPhysicalDeviceSurfaceCapabilitiesKHR( gpu.device, vkcontext.surface, &gpu.surfaceCaps ) );