diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-07-03 13:57:16 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-07-03 13:58:13 +0300 |
commit | 6fea8ec1836880d1ab808d4d3c6821a7404d58e8 (patch) | |
tree | 78325d03363834aa94b3d992f1efa353ca2bea9e /source/blender/imbuf/intern/dds | |
parent | aab41401f9e911f417039c06a28e948d75cbcdaf (diff) |
Clang-Tidy: Enable redundant static qualifier warning
This change enables readability-static-definition-in-anonymous-namespace
warning in .clang-tidy configuration.
Diffstat (limited to 'source/blender/imbuf/intern/dds')
-rw-r--r-- | source/blender/imbuf/intern/dds/DirectDrawSurface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp b/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp index ab68d933c6f..9730153819e 100644 --- a/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp +++ b/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp @@ -501,7 +501,7 @@ struct FormatDescriptor { uint amask; }; -static const FormatDescriptor s_d3dFormats[] = { +const FormatDescriptor s_d3dFormats[] = { {D3DFMT_R8G8B8, 24, 0xFF0000, 0xFF00, 0xFF, 0}, {D3DFMT_A8R8G8B8, 32, 0xFF0000, 0xFF00, 0xFF, 0xFF000000}, /* DXGI_FORMAT_B8G8R8A8_UNORM */ {D3DFMT_X8R8G8B8, 32, 0xFF0000, 0xFF00, 0xFF, 0}, /* DXGI_FORMAT_B8G8R8X8_UNORM */ @@ -524,7 +524,7 @@ static const FormatDescriptor s_d3dFormats[] = { {D3DFMT_L16, 16, 16, 0, 0, 0}, /* DXGI_FORMAT_R16_UNORM */ }; -static const uint s_d3dFormatCount = sizeof(s_d3dFormats) / sizeof(s_d3dFormats[0]); +const uint s_d3dFormatCount = sizeof(s_d3dFormats) / sizeof(s_d3dFormats[0]); } // namespace |