Cleanup.
This commit is contained in:
parent
1146be8276
commit
af274cfddf
@ -732,13 +732,17 @@ namespace bgfx { namespace d3d12
|
||||
{
|
||||
debug0->EnableDebugLayer();
|
||||
|
||||
ID3D12Debug1* debug1;
|
||||
hr = debug0->QueryInterface(IID_ID3D12Debug1, (void**)&debug1);
|
||||
|
||||
if (SUCCEEDED(hr) )
|
||||
#if BX_PLATFORM_WINDOWS
|
||||
{
|
||||
// debug1->SetEnableGPUBasedValidation(true);
|
||||
ID3D12Debug1* debug1;
|
||||
hr = debug0->QueryInterface(IID_ID3D12Debug1, (void**)&debug1);
|
||||
|
||||
if (SUCCEEDED(hr) )
|
||||
{
|
||||
// debug1->SetEnableGPUBasedValidation(true);
|
||||
}
|
||||
}
|
||||
#endif // BX_PLATFORM_WINDOWS
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user