From 89eb3c623662652c1289f02bb8cc5c120da9d7ec Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sun, 25 Aug 2019 17:16:58 -0300 Subject: [PATCH] Remove a static_assert that fails in some compilers --- src/modules/graphics/vertex.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/graphics/vertex.h b/src/modules/graphics/vertex.h index bc46a2ddc..b4b4855cf 100644 --- a/src/modules/graphics/vertex.h +++ b/src/modules/graphics/vertex.h @@ -219,8 +219,6 @@ struct AttributeInfo uint16 offsetFromVertex; }; -static_assert(sizeof(AttributeInfo) == 4, "AttributeInfo struct size should be 4 bytes"); - struct BufferLayout { uint16 stride;