mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Added file/line argument to fatal callback.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user