mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 21:42:59 +01:00
Replaced macros with C++17 attributes.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user