Sfoglia il codice sorgente

Remove a static_assert that fails in some compilers

Alex Szpakowski 6 anni fa
parent
commit
89eb3c6236
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 2
      src/modules/graphics/vertex.h

+ 0 - 2
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;