Browse Source

Remove a static_assert that fails in some compilers

Alex Szpakowski 6 years ago
parent
commit
89eb3c6236
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/modules/graphics/vertex.h

+ 0 - 2
src/modules/graphics/vertex.h

@@ -219,8 +219,6 @@ struct AttributeInfo
 	uint16 offsetFromVertex;
 	uint16 offsetFromVertex;
 };
 };
 
 
-static_assert(sizeof(AttributeInfo) == 4, "AttributeInfo struct size should be 4 bytes");
-
 struct BufferLayout
 struct BufferLayout
 {
 {
 	uint16 stride;
 	uint16 stride;