This commit is contained in:
Бранимир Караџић
2024-12-07 22:49:45 -08:00
parent f6baa4bdaf
commit 042ebe8814
31 changed files with 110 additions and 110 deletions

View File

@@ -272,7 +272,7 @@ namespace bgfx { namespace gl
}
BGFX_FATAL(NULL != m_context, Fatal::UnableToInitialize, "Failed to create context 0x%08x.", GetLastError() );
BX_STATIC_ASSERT(sizeof(contextAttrs) == sizeof(m_contextAttrs) );
static_assert(sizeof(contextAttrs) == sizeof(m_contextAttrs) );
bx::memCopy(m_contextAttrs, contextAttrs, sizeof(contextAttrs) );
}