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

@@ -1406,7 +1406,7 @@ namespace bgfx
{
viewRemap[m_viewRemap[ii] ] = ViewId(ii);
View& view = s_ctx->m_view[ii];
View& view = m_view[ii];
Rect rect(0, 0, uint16_t(m_resolution.width), uint16_t(m_resolution.height) );
if (isValid(view.m_fbh) )