mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-02-06 14:25:39 +00:00
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"
|
#include "frontend-common/vulkan_host_display.h"
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include "frontend-common/d3d11_host_display.h"
|
#include "frontend-common/d3d11_host_display.h"
|
||||||
|
#include "frontend-common/d3d12_host_display.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DisplaySettingsWidget::DisplaySettingsWidget(QtHostInterface* host_interface, QWidget* parent, SettingsDialog* dialog)
|
DisplaySettingsWidget::DisplaySettingsWidget(QtHostInterface* host_interface, QWidget* parent, SettingsDialog* dialog)
|
||||||
|
@ -209,6 +210,10 @@ void DisplaySettingsWidget::populateGPUAdaptersAndResolutions()
|
||||||
case GPURenderer::HardwareD3D11:
|
case GPURenderer::HardwareD3D11:
|
||||||
aml = FrontendCommon::D3D11HostDisplay::StaticGetAdapterAndModeList();
|
aml = FrontendCommon::D3D11HostDisplay::StaticGetAdapterAndModeList();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case GPURenderer::HardwareD3D12:
|
||||||
|
aml = FrontendCommon::D3D12HostDisplay::StaticGetAdapterAndModeList();
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
case GPURenderer::HardwareVulkan:
|
case GPURenderer::HardwareVulkan:
|
||||||
|
|
Loading…
Reference in a new issue