Fixes for multiple windows and example 22 (#2483)

This commit is contained in:
pezcode
2021-04-20 00:30:03 +02:00
committed by GitHub
parent 19fe73d00d
commit e8d4b3dcce
4 changed files with 18 additions and 15 deletions

View File

@@ -1021,6 +1021,7 @@ namespace bgfx { namespace d3d12
m_resolution.width = _init.resolution.width;
m_resolution.height = _init.resolution.height;
m_windows[0] = BGFX_INVALID_HANDLE;
m_numWindows = 1;
#if BX_PLATFORM_WINDOWS