From 3b8fbf6b743c48f37c23d2cb15330f23f3b4e1a3 Mon Sep 17 00:00:00 2001 From: Andrew Evstyukhin Date: Sun, 3 Apr 2022 15:26:49 +0300 Subject: [PATCH] Remove constexpr --- src/Bc7Core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bc7Core.cpp b/src/Bc7Core.cpp index be2d74f..b07e76a 100644 --- a/src/Bc7Core.cpp +++ b/src/Bc7Core.cpp @@ -1107,7 +1107,7 @@ INLINED int ComputeSubsetTable(const Area& area, const __m128i mweights, Modulat __m128i mpacked = _mm_load_si128(&area.DataMask_I16[i]); __m128i mpixel = _mm_unpacklo_epi64(mpacked, mpacked); - constexpr uint64_t bottom = kBlockMaximalColorAlphaError * ((1uLL << 32) + 1uLL); + uint64_t bottom = kBlockMaximalColorAlphaError * ((1uLL << 32) + 1uLL); for (int j = 0; j < M; j += 2) {