Merge pull request #21705 from GermanAizek/constexpr-cpp17

GPU: modernize use C++17 constexpr for precalculate compilation
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2026-05-27 12:21:39 +02:00
commit 5513fcb223
20 files changed
+89 -89

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@
#define MAX_RUNTIME_CACHE_SIZE (1024 * 1024 * 4)
#define MAX_SAVED_CACHE_SIZE (1024 * 1024 * 1)
const uint32_t ICON_CACHE_MAGIC = MK_FOURCC("pICN");
constexpr uint32_t ICON_CACHE_MAGIC = MK_FOURCC("pICN");
IconCache g_iconCache;