Qt: Expose adapter selection/exclusive fullscreen for D3D12
This commit is contained in:
parent
9915db1971
commit
eb5a2a340c
|
@ -11,6 +11,7 @@
|
|||
#include "frontend-common/vulkan_host_display.h"
|
||||
#ifdef _WIN32
|
||||
#include "frontend-common/d3d11_host_display.h"
|
||||
#include "frontend-common/d3d12_host_display.h"
|
||||
#endif
|
||||
|
||||
DisplaySettingsWidget::DisplaySettingsWidget(QtHostInterface* host_interface, QWidget* parent, SettingsDialog* dialog)
|
||||
|
@ -209,6 +210,10 @@ void DisplaySettingsWidget::populateGPUAdaptersAndResolutions()
|
|||
case GPURenderer::HardwareD3D11:
|
||||
aml = FrontendCommon::D3D11HostDisplay::StaticGetAdapterAndModeList();
|
||||
break;
|
||||
|
||||
case GPURenderer::HardwareD3D12:
|
||||
aml = FrontendCommon::D3D12HostDisplay::StaticGetAdapterAndModeList();
|
||||
break;
|
||||
#endif
|
||||
|
||||
case GPURenderer::HardwareVulkan:
|
||||
|
|
Loading…
Reference in New Issue