mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-24 13:53:36 +02:00
Check that sf::Vertex and sfVertex are compatible types
This commit is contained in:
1 file changed
+3
@@ -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()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user