Qt: Expose adapter selection/exclusive fullscreen for D3D12

This commit is contained in:
Connor McLaughlin 2021-07-13 14:15:34 +10:00
parent 9915db1971
commit eb5a2a340c
1 changed files with 5 additions and 0 deletions

View File

@ -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: