forked from mirrors/0ad
bdd3cac051
It allows to reduce the number of allocations per-frame for ShaderDefines. For example, on Acropolis Bay it goes down from 2.7k to 0.9k for the whole map view. We don't really need std::vector for it. Because materials and particularly shaders shouldn't have so many parameters.