mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Merge pull request #358 from ajohnson23/master
Fixes error C4701 in renderer_d3d11.cpp on VC12 build
This commit is contained in:
commit
44304315b5
1 changed files with 1 additions and 1 deletions
|
@ -645,7 +645,7 @@ namespace bgfx { namespace d3d11
|
|||
}
|
||||
|
||||
IDXGIDevice* device = NULL;
|
||||
IDXGIAdapter* adapter;
|
||||
IDXGIAdapter* adapter = NULL;
|
||||
hr = E_FAIL;
|
||||
for (uint32_t ii = 0; ii < BX_COUNTOF(s_deviceIIDs) && FAILED(hr); ++ii)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue