Replaced macros with C++17 attributes.

This commit is contained in:
Бранимир Караџић
2023-12-02 20:16:56 -08:00
parent 837803454a
commit e9e2e224ee
9 changed files with 90 additions and 90 deletions

View File

@@ -2855,7 +2855,7 @@ namespace bgfx
m_exit = true;
}
BX_FALLTHROUGH;
[[fallthrough]];
case CommandBuffer::End:
end = true;
@@ -3572,7 +3572,7 @@ namespace bgfx
case ErrorState::ContextAllocated:
bx::deleteObject(g_allocator, s_ctx, Context::kAlignment);
s_ctx = NULL;
BX_FALLTHROUGH;
[[fallthrough]];
case ErrorState::Default:
if (NULL != s_callbackStub)