mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 09:35:45 -04:00
GPU: Add D3D12 renderer
This commit is contained in:
@ -42,6 +42,7 @@ Log_SetChannel(QtHostInterface);
|
||||
#ifdef _WIN32
|
||||
#include "common/windows_headers.h"
|
||||
#include "frontend-common/d3d11_host_display.h"
|
||||
#include "frontend-common/d3d12_host_display.h"
|
||||
#include <KnownFolders.h>
|
||||
#include <ShlObj.h>
|
||||
#endif
|
||||
@ -598,6 +599,10 @@ HostDisplay* QtHostInterface::createHostDisplay()
|
||||
break;
|
||||
|
||||
#ifdef _WIN32
|
||||
case GPURenderer::HardwareD3D12:
|
||||
m_display = std::make_unique<FrontendCommon::D3D12HostDisplay>();
|
||||
break;
|
||||
|
||||
case GPURenderer::HardwareD3D11:
|
||||
default:
|
||||
m_display = std::make_unique<FrontendCommon::D3D11HostDisplay>();
|
||||
|
Reference in New Issue
Block a user