mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
46a71e4fe8
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}}); |
||
---|---|---|
.. | ||
SFML |