mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -185,7 +185,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||
"GamepadStart",
|
||||
"GamepadGuide",
|
||||
};
|
||||
BX_STATIC_ASSERT(Key::Count == BX_COUNTOF(s_keyName) );
|
||||
static_assert(Key::Count == BX_COUNTOF(s_keyName) );
|
||||
|
||||
const char* getName(Key::Enum _key)
|
||||
{
|
||||
@@ -455,7 +455,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||
|
||||
AppI::AppI(const char* _name, const char* _description, const char* _url)
|
||||
{
|
||||
BX_STATIC_ASSERT(sizeof(AppInternal) <= sizeof(m_internal) );
|
||||
static_assert(sizeof(AppInternal) <= sizeof(m_internal) );
|
||||
s_offset = BX_OFFSETOF(AppI, m_internal);
|
||||
|
||||
AppInternal* ai = (AppInternal*)m_internal;
|
||||
|
||||
Reference in New Issue
Block a user