From 833f8d0e793d54fa2541dc9e8b93ba7f22332d8f Mon Sep 17 00:00:00 2001 From: Stan Date: Mon, 20 Jun 2022 07:12:43 +0000 Subject: [PATCH] Bump the max amount of instanced icons to 256 to account for Egypt 3v3 as suggested by @vladislavbelov. 192 worked as well but the error spam isn't really nice going above 256 is madness anyway. Reported by: @Langbart Fixes: #6578 This was SVN commit r26969. --- source/graphics/MiniMapTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/graphics/MiniMapTexture.cpp b/source/graphics/MiniMapTexture.cpp index fe6979b02f..ee0db35635 100644 --- a/source/graphics/MiniMapTexture.cpp +++ b/source/graphics/MiniMapTexture.cpp @@ -66,7 +66,7 @@ namespace // f.e. use instancing. constexpr size_t MAX_ENTITIES_DRAWN = 65536 / 4; -constexpr size_t MAX_ICON_COUNT = 128; +constexpr size_t MAX_ICON_COUNT = 256; constexpr size_t MAX_UNIQUE_ICON_COUNT = 64; constexpr size_t ICON_COMBINING_GRID_SIZE = 10;