fix alignment issue with ecs_vector_t
struct ecs_vector_t {
uint32_t count;
uint32_t size;
+
+ /* Aligns the array to 16 bytes. This prevents issues with component types
+ * that are 16 bit aligned, such as some SIMD compiler intrinsics. This is
+ * a quick hack, but should in the long term be solved by using a separate
+ * datastructure for any collection that can contain user-defined types. */
+ uint64_t dummy;
};
#define ARRAY_BUFFER(array) ECS_OFFSET(array, sizeof(ecs_vector_t))
