mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-15 07:00:58 +00:00
Removed an inclusion guard as it is needed for Physical Device
extensions and not Instance extensions.
This commit is contained in:
parent
e9ef21ce5c
commit
ae07018a3c
1 changed files with 1 additions and 3 deletions
|
@ -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 ) );
|
||||
|
|
Loading…
Reference in a new issue