ソースを参照

Fix a crash on Windows. Resolves #1570.

Alex Szpakowski 5 年 前
コミット
0fae32706d
1 ファイル変更2 行追加2 行削除
  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;
 };