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

@@ -1635,13 +1635,13 @@ namespace bgfx { namespace d3d11
#endif // USE_D3D11_DYNAMIC_LIB
m_dxgi.shutdown();
BX_FALLTHROUGH;
[[fallthrough]];
#if USE_D3D11_DYNAMIC_LIB
case ErrorState::LoadedD3D11:
bx::dlclose(m_d3d11Dll);
m_d3d11Dll = NULL;
BX_FALLTHROUGH;
[[fallthrough]];
#endif // USE_D3D11_DYNAMIC_LIB
case ErrorState::Default: