mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user