diff options
author | 2015-02-28 07:52:28 +0100 | |
---|---|---|
committer | 2015-02-28 07:52:28 +0100 | |
commit | abb3442fe62fe2ee81b35b7f98ca371fae468bff (patch) | |
tree | a9ca70ec681fda082e47c294203d25581bbc1643 /3rdparty/bgfx/src/renderer_d3d11.cpp | |
parent | 2e294961b4e1a26640633a371264dd3438cc7ddb (diff) |
update libs to latest (nw)
Diffstat (limited to '3rdparty/bgfx/src/renderer_d3d11.cpp')
-rw-r--r-- | 3rdparty/bgfx/src/renderer_d3d11.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/3rdparty/bgfx/src/renderer_d3d11.cpp b/3rdparty/bgfx/src/renderer_d3d11.cpp index 1cd7735e4e7..e67eacb9a77 100644 --- a/3rdparty/bgfx/src/renderer_d3d11.cpp +++ b/3rdparty/bgfx/src/renderer_d3d11.cpp @@ -665,6 +665,11 @@ namespace bgfx #endif // BX_PLATFORM_WINRT BGFX_FATAL(SUCCEEDED(hr), Fatal::UnableToInitialize, "Failed to create swap chain."); + DX_CHECK(m_factory->MakeWindowAssociation(g_bgfxHwnd, 0 + | DXGI_MWA_NO_WINDOW_CHANGES + | DXGI_MWA_NO_ALT_ENTER + ) ); + m_numWindows = 1; if (BX_ENABLED(BGFX_CONFIG_DEBUG) ) @@ -726,7 +731,7 @@ namespace bgfx } // Init reserved part of view name. - for (uint8_t ii = 0; ii < BGFX_CONFIG_MAX_VIEWS; ++ii) + for (uint32_t ii = 0; ii < BGFX_CONFIG_MAX_VIEWS; ++ii) { char name[BGFX_CONFIG_MAX_VIEW_NAME_RESERVED+1]; bx::snprintf(name, sizeof(name), "%3d ", ii); @@ -3051,7 +3056,7 @@ namespace bgfx int32_t numItems = _render->m_num; for (int32_t item = 0, restartItem = numItems; item < numItems || restartItem < numItems;) { - const bool isCompute = key.decode(_render->m_sortKeys[item]); + const bool isCompute = key.decode(_render->m_sortKeys[item], _render->m_viewRemap); const bool viewChanged = 0 || key.m_view != view || item == numItems |