1
0
forked from 0ad/0ad

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.
This commit is contained in:
Stan 2022-06-20 07:12:43 +00:00
parent 3294f0ea48
commit 833f8d0e79

View File

@ -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;