We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74f7445 commit c0e91fcCopy full SHA for c0e91fc
DirectXTex/DirectXTexSwizzle.cpp
@@ -55,7 +55,7 @@ namespace
55
constexpr size_t MAX_TEXTURE_DIMENSION = 16384u;
56
57
#if defined(_M_X64) || defined(_M_ARM64) || __x86_64__ || __aarch64__
58
- constexpr uint64_t MAX_TEXTURE_SIZE = 16384u * 16384u * 16u;
+ constexpr uint64_t MAX_TEXTURE_SIZE = UINT64_C(16384) * UINT64_C(16384) * 16u;
59
#else
60
constexpr uint64_t MAX_TEXTURE_SIZE = UINT32_MAX;
61
#endif
@@ -709,4 +709,4 @@ HRESULT DirectX::StandardSwizzle(
709
}
710
711
712
-#endif
+#endif
0 commit comments