GPU: modernize use C++17 constexpr for precalculate compilation

This commit is contained in:
Herman Semenoff committed 2026-05-19 21:57:45 +03:00
1 parent d9b952e684
commit 400d136f51
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;