Adding a comment on ID3D12InfoQueue1 that are apparently only available on Win11
This commit is contained in:
@@ -260,7 +260,8 @@ namespace Juliet::D3D12
|
||||
|
||||
void InitializeD3D12DebugInfoLogger(NonNullPtr<D3D12Driver> driver)
|
||||
{
|
||||
ID3D12InfoQueue1* infoQueue = NULL;
|
||||
// Only supported on Win 11 apparently
|
||||
ID3D12InfoQueue1* infoQueue = nullptr;
|
||||
HRESULT result = ID3D12Device5_QueryInterface(driver->D3D12Device, IID_ID3D12InfoQueue1, reinterpret_cast<void**>(&infoQueue));
|
||||
if (FAILED(result))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user