mirror of
https://github.com/SFML/SFML.git
synced 2025-03-04 10:58:05 +08:00
This has to be silenced for `sf::Vertex` because in some places within SFML we initialize only a subset of this aggregate type. If we remove the `{}` from `texCoords` then we get a compiler warning from Clang. It feels like these two clang-based tools are somewhat contradictory. error: missing field 'texCoords' initializer [-Werror,-Wmissing-field-initializers] m_points.append({{x, y}, {r, g, b}});