Check that sf::Vertex and sfVertex are compatible types

This commit is contained in:
Chris Thrasher committed 2024-11-01 15:09:49 -06:00
1 parent e468aa651b
commit 1229896f3d
1 file changed
+3
+3
View File
@@ -30,6 +30,9 @@
#include <CSFML/Graphics/VertexArrayStruct.hpp>
static_assert(sizeof(sf::Vertex) == sizeof(sfVertex));
static_assert(alignof(sf::Vertex) == alignof(sfVertex));
////////////////////////////////////////////////////////////
sfVertexArray* sfVertexArray_create()
{