Browse Source

Fix a crash on Windows. Resolves #1570.

Alex Szpakowski 5 năm trước cách đây
mục cha
commit
0fae32706d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/modules/graphics/vertex.h

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

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