mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-21 12:00:06 +00:00
Attempt to fix CodeQL warning
This commit is contained in:
parent
74f7445974
commit
c0e91fc631
@ -55,7 +55,7 @@ namespace
|
||||
constexpr size_t MAX_TEXTURE_DIMENSION = 16384u;
|
||||
|
||||
#if defined(_M_X64) || defined(_M_ARM64) || __x86_64__ || __aarch64__
|
||||
constexpr uint64_t MAX_TEXTURE_SIZE = 16384u * 16384u * 16u;
|
||||
constexpr uint64_t MAX_TEXTURE_SIZE = UINT64_C(16384) * UINT64_C(16384) * 16u;
|
||||
#else
|
||||
constexpr uint64_t MAX_TEXTURE_SIZE = UINT32_MAX;
|
||||
#endif
|
||||
@ -709,4 +709,4 @@ HRESULT DirectX::StandardSwizzle(
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user