Merge pull request #358 from ajohnson23/master

Fixes error C4701 in renderer_d3d11.cpp on VC12 build
This commit is contained in:
Branimir Karadžić 2015-04-23 08:58:44 -07:00
commit 44304315b5

View file

@ -645,7 +645,7 @@ namespace bgfx { namespace d3d11
} }
IDXGIDevice* device = NULL; IDXGIDevice* device = NULL;
IDXGIAdapter* adapter; IDXGIAdapter* adapter = NULL;
hr = E_FAIL; hr = E_FAIL;
for (uint32_t ii = 0; ii < BX_COUNTOF(s_deviceIIDs) && FAILED(hr); ++ii) for (uint32_t ii = 0; ii < BX_COUNTOF(s_deviceIIDs) && FAILED(hr); ++ii)
{ {