mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-14 22:50:45 +00:00
Fix compile errors: DeviceManager.h include path for DX12, sync2 structure initialization typo for Vulkan
This commit is contained in:
parent
f756ef26c2
commit
80c56e573d
2 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include "renderer/RenderCommon.h"
|
||||
#include "renderer/RenderSystem.h"
|
||||
#include "../DeviceManager.h"
|
||||
#include <sys/DeviceManager.h>
|
||||
|
||||
#include <Windows.h>
|
||||
#include <dxgi1_5.h>
|
||||
|
@ -631,4 +631,4 @@ void DeviceManager_DX12::Present()
|
|||
DeviceManager* DeviceManager::CreateD3D12()
|
||||
{
|
||||
return new DeviceManager_DX12();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -788,7 +788,7 @@ bool DeviceManager_VK::createDevice()
|
|||
.setPrimitiveFragmentShadingRate( true )
|
||||
.setAttachmentFragmentShadingRate( true );
|
||||
|
||||
auto sync2Features = vk::PhysicalDeviceSynchronization2Features()
|
||||
auto sync2Features = vk::PhysicalDeviceSynchronization2FeaturesKHR()
|
||||
.setSynchronization2( true );
|
||||
|
||||
#if defined(__APPLE__) && defined( VK_KHR_portability_subset )
|
||||
|
|
Loading…
Reference in a new issue