Browse Source

Fix a crash on Windows. Resolves #1570.

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

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

@@ -223,9 +223,9 @@ struct BufferBindings
 
 
 struct AttributeInfo
 struct AttributeInfo
 {
 {
+	DataType type;
+	uint8 components;
 	uint8 bufferIndex;
 	uint8 bufferIndex;
-	DataType type : 4;
-	uint8 components : 4;
 	uint16 offsetFromVertex;
 	uint16 offsetFromVertex;
 };
 };