Added file/line argument to fatal callback.

This commit is contained in:
Branimir Karadžić
2018-09-19 17:54:51 -07:00
parent 7ed47a3507
commit 99e6da5b50
12 changed files with 57 additions and 48 deletions

View File

@@ -288,7 +288,7 @@ namespace bgfx
}
// BK - warn only because RenderDoc might be present.
DX_RELEASE_WARNONLY(output6, 1);
DX_RELEASE_W(output6, 1);
}
#endif // BX_PLATFORM_WINDOWS
@@ -358,7 +358,7 @@ namespace bgfx
DX_CHECK(m_adapter->GetParent(IID_IDXGIFactory2, (void**)&m_factory) );
}
DX_RELEASE(dxgiDevice, 2);
DX_RELEASE_I(dxgiDevice);
}
static const GUID IID_ID3D12CommandQueue = { 0x0ec870a6, 0x5d7e, 0x4c22, { 0x8c, 0xfc, 0x5b, 0xaa, 0xe0, 0x76, 0x16, 0xed } };
@@ -411,7 +411,7 @@ namespace bgfx
if (NULL != dxgiDevice1)
{
dxgiDevice1->SetMaximumFrameLatency(_scd.maxFrameLatency);
DX_RELEASE(dxgiDevice1, 3);
DX_RELEASE_I(dxgiDevice1);
}
}
#else